Docs Menu
Docs Home
/
MongoDB Atlas
/ / /

Delete a Private Endpoint for a Federated Database Instance

You can delete a private endpoint for your federated database instances from the Atlas CLI, Atlas User Interface, and API.

To delete a private endpoint, you must have Project Owner access to the project. Users with Organization Owner access must add themselves as a Project Owner to the project before setting up a private endpoint.

To remove the specified Data Federation private endpoint from your project using the Atlas CLI, run the following command:

atlas dataFederation privateEndpoints delete <endpointId> [options]

To learn more about the command syntax and parameters, see the Atlas CLI documentation for atlas dataFederation privateEndpoints delete.

Tip

See: Related Links

To delete a private endpoint through the API, send a DELETE request to the privateNetworkSettings/endpointIds endpoint with the ID of the private endpoint to delete. To learn more about the syntax and options, see API.

To delete a private endpoint from the Atlas UI:

1
  1. If it's not already displayed, select the organization that contains your project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your project from the Projects menu in the navigation bar.

  3. In the sidebar, click Network Access under the Security heading.

2

Data Federation / Online Archive to manage the private endpoint for your federated database instance or online archive.

3
4

Back

Edit

Next

Update Region