For AI agents: a documentation index is available at https://www.mongodb.com/zh-cn/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

mongocli iam globalAccessLists delete

Remove the specified IP access list entry for your global API key.

Command Syntax
mongocli iam globalAccessLists delete <ID> [options]
Name
Type
Required
Description

ID

string

true

Unique 24-digit string that identifies the access list entry.

Name
Type
Required
Description

--force

false

Flag that indicates whether to skip the confirmation prompt before proceeding with the requested action.

-h, --help

false

help for delete

Name
Type
Required
Description

-P, --profile

string

false

Name of the profile to use from your configuration file. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file.

# Remove the IP access list entry with the ID 5f5bad7a57aef32b04ed0210 from the access list for the global API key:
mongocli iam globalAccessLists delete 5f5bad7a57aef32b04ed0210