mongocli atlas networking containers delete¶
networking containers delete command removes one network peering
container in an Atlas project. You can also delete a network peering
container through the Atlas API.
mongocli atlas networking containers delete <container-id> [ --force ] [ --output|-o <output-format> ] [ --profile|-P <profile-name> ] [ --projectId <project-ID> ]
--help to view the command-line help for
Unique identifier of the container.
Flag that indicates that the container can be deleted without requiring confirmation.
If the command is successful, it returns the following output:
Network peering container '<container-id>' deleted
The following example uses the
mongocli atlas networking containers
delete command to delete a network peering container for the specified
project. The command uses the default profile, which contains the
Programmatic API Key