Docs Menu

Delete an App with Realm CLI

On this page

  • Prerequisites
  • Procedure
  • Authenticate a MongoDB Atlas User
  • (Optional) List All Apps
  • Run the App Delete Command

You can use the Atlas App Services CLI to delete a server-side App.

1

Use your MongoDB Cloud API Key to log in:

realm-cli login --api-key="<my api key>" --private-api-key="<my private api key>"
2

Although the delete command will show you a list of apps available to delete, You may want to use the list command to see all your apps and find out which you plan to delete before running the delete command.

realm-cli apps list

For more details about each app, you can use:

realm-cli apps describe
Tip
See also:

For more details and additional flags, see the CLI documentation for the list and describe commands.

3

The CLI can delete one or more apps with the following command:

realm-cli apps delete

If you have more than one App, you will be prompted to select one or more apps that you would like to delete from a list of all your Apps.

If you already know the name or id of the app you would like to delete, you can specify it:

realm-cli apps delete --app <name or id>
Tip
See also:

For more details and additional flags, see the CLI documentation for the delete command.

←  Delete an App (Atlas App Services UI)Delete an App (App Services API) →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.