Company
Date Published
Author
Jay Gordon
Word count
1365
Language
English
Hacker News points
None

Summary

MongoDB Atlas provides a full-featured API that allows users to programmatically create, modify, and delete their database clusters. To access this API, users need to configure public API access by creating an API key and whitelisting IP addresses. This can be done through the MongoDB Atlas Control Panel, where users can navigate to "Settings" > "Public API Access". After configuring the API key and whitelist, users can use `curl` commands to create, list, and delete clusters. The API requires authentication with a username and password, which can be obtained by logging into the control panel. Users can also modify other aspects of their cluster using the API, such as disk size or user settings. The MongoDB Atlas API documentation provides more information on available resources and usage examples.