mongocli iam globalWhitelist delete¶
iam globalWhitelist delete command deletes a global whitelist
entry for an Ops Manager instance. You must confirm the operation when
you run this command without the
You must have credentials with the Global Owner role to delete a global whitelist entry.
mongocli iam globalWhitelist|ipwhitelist delete|rm <whitelist-entry-id> [ --force ] [ --profile|-P <profile-name> ]
--help to view the command-line help for
Unique identifier of the global whitelist entry to delete.
Flag that indicates that the global whitelist entry can be deleted without requiring confirmation.
If the command succeeds, it prints the following output to the terminal. If the command returns errors, see Troubleshooting for recommended solutions.
Whitelist entry '<whitelist-entry-id>' deleted
The following command deletes the specified whitelist entry for an
Ops Manager instance using the default profile, which contains
the credentials for accessing the instance. The command does
not prompt for confirmation because the
--force option is
specified with the command.
mongocli iam globalWhitelists delete 5f5bad7a57aef32b04ed0210 --force
The previous command prints the following output to the terminal.
Whitelist entry '5f5bad7a57aef32b04ed0210' deleted