You can modify your App registration to change any of the settings that were selected when the app was initially registered. For more information about the settings you can select while registering a App, see Registering a App.
For example, you can change the name and description of your app, the permissions granted to your app, the webhooks your app subscribes to, or the visibility of your app.
You can also choose to test new optional features for your App. See Activating optional features for Apps.
To modify a App, first navigate to the app settings page.
In the upper-right corner of any page on , click your profile photo.
Navigate to your account settings.
- For an app owned by a personal account, click Settings.
- For an app owned by an organization:
- Click Your organizations.
- To the right of the organization, click Settings.
- For an app owned by an enterprise:
- If you use Enterprise Managed Users, click Your enterprise to go directly to the enterprise account settings.
- If you use personal accounts, click Your enterprises and then to the right of the enterprise, click Settings.
Navigate to the App settings.
- For an app owned by a personal account or organization:
- In the left sidebar, click Developer settings, then click Apps.
- For an app owned by an enterprise:
- In the left sidebar, under "Settings", click Apps.
- For an app owned by a personal account or organization:
To the right of the App you want to modify, click Edit.
You can change the basic information of your App, like the name of the app, the description of the app, and the homepage URL of the app.
- Navigate to the settings page for the app you'd like to modify. For more information, see Navigating to your App settings in this article.
- Under "Basic information," modify the App information that you'd like to change.
- Click Save changes.
You can prompt users to authorize your App when they install it and generate a user access token. When you request user authorization (OAuth) during installation, you must also provide a callback URL where the user will be redirected after they authorize the installation. See Generating a user access token for a App.
- Navigate to the settings page for the app you'd like to modify. For more information, see Navigating to your App settings in this article.
- Under "Identifying and authorizing users," select or deselect Request user authorization (OAuth) during installation.
- Under "Callback URL," enter the full URL to redirect to after a user authorizes the installation.
You can use the device flow to authorize users for a headless app like a CLI tool or Git credential manager. For more information about using the device flow with Apps, see Generating a user access token for a App.
- Navigate to the settings page for the app you'd like to modify. For more information, see Navigating to your App settings in this article.
- Under "Identifying and authorizing users," select or deselect Enable Device Flow.
You can redirect people to a specific URL after they install your app. See Registering a App.
If you select Request user authorization (OAuth) during installation, you will not be able to enter a setup URL. Users will instead be redirected to the Callback URL as part of the authorization flow, where you can describe additional setup. See About the user authorization callback URL.
- Navigate to the settings page for the app you'd like to modify. For more information, see Navigating to your App settings in this article.
- Under "Post installation," in the "Setup URL" field, enter the URL where you'd like to redirect users after they install your app.
- Optionally, if you want to redirect users to the setup URL after they update an installation, select Redirect on update. An update includes adding or removing a repository for an installation. If "Setup URL" is blank, this will be ignored.
You can change the access permissions that are granted to your App using the following steps.
When you change the repository or organization permissions of an app, each account where the app is installed will need to approve the new permissions. When you change the account permissions of an app, each user that has authorized the app will need to approve the permission changes. In both cases, will send an email to each organization owner or user, notifying them of the request to update the app's permissions. Updated permissions won't take effect on an installation or user authorization until the new permissions are approved. You can use the installation webhook to find out when people accept new permissions for your app.
Changing the permissions of an app may also change the webhooks that your app can subscribe to and the actions that your app can take with the API. See Choosing permissions for a App.
- Navigate to the settings page for the app you'd like to modify. For more information, see Navigating to your App settings in this article.
- In the Apps settings sidebar, click Permissions & events.
- Under the sections "Repository permissions," "Organization permissions," and "Account permissions," modify the permissions you'd like to change. For each type of permission, select either "Read-only," "Read and write," or "No access" from the dropdown. See Choosing permissions for a App.
- Optionally, under "Add a note to users," add a note telling your users why you are changing the permissions that your App requests.
- Click Save changes.
You can configure your App to receive webhooks for specific events on and automatically take action on them. See Using webhooks with Apps.
- Navigate to the settings page for the app you'd like to modify. For more information, see Navigating to your App settings in this article.
- Under "Webhook," to enable or disable the webhook, select or deselect Active.
- If you selected Active in the previous step, under "Webhook URL," enter the URL that should send webhook events to.
- Optionally, if you selected Active in the previous step, under "Webhook secret," enter a secret token to secure your webhooks. highly recommends that you set a webhook secret.
You can change the webhook events that a App subscribes to using the following steps.
The specific webhook events that you can select for your App registration are determined by the type of permissions you selected for your app. You will first need to select the permissions you would like your app to have, and then you can subscribe your app to webhook events that are related to that set of permissions. See Using webhooks with Apps.
- Navigate to the settings page for the app you'd like to modify. For more information, see Navigating to your App settings in this article.
- Activate the App webhook. See Activating or deactivating the App webhook in this article.
- In the Apps settings sidebar, click Permissions & events.
- Under the sections "Repository permissions," "Organization permissions," and "Account permissions," select the permissions that are required for the events your app will subscribe to. See Changing the permissions of a App.
- Under "Subscribe to Events," select the webhook events you would like your App to receive.
- Click Save changes.
You can change the visibility settings of your App to control who can install it. Public apps cannot be made private if they're installed on other accounts. See Making a App public or private.
You can't change the visibility of an App owned by an enterprise. Apps owned by an enterprise can only be installed on organizations within the enterprise.
- Navigate to the settings page for the app you'd like to modify. For more information, see Navigating to your App settings in this article.
- In the left sidebar, click Advanced.
- Under "Danger zone," depending on the current visibility of your App, click either Make public or Make private.