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

atlas federatedAuthentication federationSettings connectedOrgConfigs disconnect

Connect an Identity Provider to an Organization.

Public Preview: The atlas api sub-command, automatically generated from the MongoDB Atlas Admin API, offers full coverage of the Admin API and is currently in Public Preview (please provide feedback at https://feedback.mongodb.com/forums/930808-atlas-cli). Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint documentation link.

Command Syntax
atlas federatedAuthentication federationSettings connectedOrgConfigs disconnect [options]
Name
Type
Required
Description

--federationSettingsId

string

true

Unique 24-hexadecimal digit string that identifies the federation settings.

-h, --help

false

help for disconnect

--identityProviderId

string

true

Unique identifier of the identity provider.

--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.

--protocol

string

false

Protocol used to authenticate the user. Valid value is OIDC or SAML. This value defaults to "OIDC".

Name
Type
Required
Description

-P, --profile

string

false

If the command succeeds, the CLI returns output similar to the following sample. Values in brackets represent your values.

Org Configs disconnected.
# Disconnect the current profile org from identity provider with ID 5d1113b25a115342acc2d1aa and federationSettingsId 7d1113b25a115342acc2d1aa
atlas federatedAuthentication federationSettings connectedOrgConfigs disconnect --identityProviderId 5d1113b25a115342acc2d1aa --federationSettingsId 7d1113b25a115342acc2d1aa
# Disconnect the org with ID 7d1113b25a115342acc2d1aa to identity provider with ID 5d1113b25a115342acc2d1aa and federationSettingsId 7d1113b25a115342acc2d1aa
atlas federatedAuthentication federationSettings connectedOrgConfigs disconnect --orgId 7d1113b25a115342acc2d1aa --identityProviderId 5d1113b25a115342acc2d1aa --federationSettingsId 7d1113b25a115342acc2d1aa

Back

describe

On this page