Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ / / /

mongocli atlas privateEndpoints gcp delete

On this page

  • Syntax
  • Arguments
  • Options
  • Inherited Options
  • Examples

Delete a GCP private endpoint for your project.

mongocli atlas privateEndpoints gcp delete <privateEndpointId> [options]
Name
Type
Required
Description
privateEndpointId
string
true
Unique 22-character alphanumeric string that identifies the private endpoint.
Name
Type
Required
Description
--force
false
If specified, skips asking for confirmation before proceeding with a requested action.
-h, --help
false
help for delete
--projectId
string
false
Project ID to use. Overrides the settings in the configuration file or environment variable.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
$ mongocli atlas privateEndpoint gcp delete vpce-abcdefg0123456789 --force

Back

create