How to configure IP access in mongodb atlas cluster though api or shell command ?
It's very time consuming to configure IP access to mongodb atlas cluster though mongodb GUI web platform each time.
It'd be very easy if we have some option to add IP to access mongodb atlas cluster though some api or some mongo shell command, so how to achieve that?
mongodb atlas network access section
CodePudding user response:
The API documentation - for managing the access list: https://docs.atlas.mongodb.com/reference/api/access-lists/