Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
assistant
build
containers
custom-scopes
deploy
developer-spaces
environments
install
manifest
module
providers
settings
show
site
skills
storage
variables
version
webtrigger
Last updated Nov 23, 2026

uninstall

Description

uninstall the app from an Atlassian site

Usage

1
2
Usage: forge uninstall [options]

Options

1
2
3
4
5
6
7
8
9
10
11
--verbose                               enable verbose mode
-s, --site [site]                       site URL (example.atlassian.net)
-p, --product [Atlassian app]           Atlassian app (Jira, Confluence, Compass, Bitbucket)
-e, --environment [environment]         specify the environment (see your default environment by running forge settings list)
--batch                                 select up to 10 installations to uninstall
-f, --force                             with --batch, uninstall the installations it found without asking to confirm
-i, --installation-id <installationId>  specify the installation ID
--non-interactive                       run the command without input prompts
--app-id-override <appId>               App ID to use (skips reading from manifest)
-h, --help                              display help for command

Operation

This command lets you uninstall your app from a specified site. For example:

1
2
forge uninstall --site example.atlassian.net

Batch uninstallation

You can also use the --batch option to uninstall your app from all non-production environments. This option is useful for clearing apps from multiple sites to make room for more apps.

For example, the following command will uninstall your app from sites across all non-production environments:

1
2
forge uninstall --batch

The --batch option also supports filtering by product and environment. For example, the following command will uninstall your app from all sites in the staging environment:

1
2
forge uninstall --batch --environment staging

The forge uninstall --batch command can only uninstall your app from up to 10 sites at a time. If you need to uninstall your app from more sites, you'll need to re-run the command again.

Batch uninstallation in non-interactive mode

In non-interactive mode, forge uninstall --batch can't ask you to confirm, so it needs --force. Without --force, it lists the installations it would uninstall and fails with a MISSING_INPUT error that ends with the command to run next:

1
2
forge uninstall --batch --environment staging --non-interactive

With --force, it uninstalls up to 10 of the installations it found without asking:

1
2
forge uninstall --batch --environment staging --force --non-interactive

When more than 10 are found, it says how many are left and ends with a Next: command to run it again. Production installations are never included.

Rate this page: