mongocli atlas integrations delete
The integrations delete
command deletes the specified third-party
service integration for the Atlas project. The command prompts you
to confirm the operation when you run the command without the --force
option. You can also delete a third-party service integration through
the Atlas API.
Important
Deleting an integration from a project removes that integration configuration only for that project. This does not affect any other project or organization’s configured integrations.
Syntax
mongocli atlas integrations delete|rm <third-party-service> [ --force ] [ --profile|-P <profile-name> ] [ --projectId <id-of-project> ]
Note
Use -h
or --help
to view the command-line help for
this command.
Arguments
Argument | Type | Description | Required? |
---|---|---|---|
<third-party-service> | string | Name of the third-party service integration to delete. Valid values are:
| yes |
Options
Option | Type | Description | Required? |
---|---|---|---|
--force | Bypasses the confirmation prompt. | no | |
--profile , -P | string | Name of the profile where the public and private
keys for the project are saved. If omitted, uses the
default profile. To learn more about creating a
profile, see Configure the MongoDB CLI. | no |
--projectId | string | Unique identifier of the project. If omitted, uses the project ID in the profile or environment variable. | no |
Output
The command prints the following to the terminal if the command succeeds. If the command prints an error, see Troubleshooting for recommended solutions.
Integration '<third-party-service>' deleted
Example
The following command uses the mongocli atlas integrations delete
command to delete FLOWDOCK
integrations with the Atlas project.
It uses the default profile to access Atlas.
mongocli atlas integrations delete FLOWDOCK Are you sure you want to delete: FLOWDOCK Yes
The previous command prints the following to the terminal.
Integration 'FLOWDOCK' deleted