Docs Menu
Docs Home
/ /
Atlas CLI
/ / / /

atlas federatedAuthentication federationSettings connectedOrgConfigs update

On this page

  • Syntax
  • Options
  • Inherited Options
  • Examples

Update One Org Config Connected to One Federation Setting.

Command Syntax
atlas federatedAuthentication federationSettings connectedOrgConfigs update [options]
Name
Type
Required
Description
--federationSettingsId
string
true
Unique 24-hexadecimal digit string that identifies the federation settings.
--file
string
true
Path to a JSON configuration file that defines connected orgs configurations. To learn more about connected org configuration file format, see the request body in https://www.mongodb.com/ja-jp/docs/atlas/reference/api-resources-spec/v2/#tag/Federated-Authentication/operation/updateConnectedOrgConfig.
-h, --help
false
help for update
--orgId
string
false
Organization ID to use. This option overrides the settings in the configuration file or environment variable.
-o, --output
string
false
Output format. Valid values are json, json-path, go-template, or go-template-file. To see the full output, use the -o json option.
Name
Type
Required
Description
-P, --profile
string
false
# Update the connected orgs config with the current profile org and federationSettingsId 5d1113b25a115342acc2d1aa using the JSON configuration file config.json
atlas federatedAuthentication federationSettings connectedOrgConfigs update --federationSettingsId 5d1113b25a115342acc2d1aa --file config.json

Back

list