How to stop building by manually removing the CircleCI webhook and deploy key from your GitHub repository

Warning: If you would like to delete your organization, ensure you've submitted a deletion request and allowed it to complete before following the steps in this article. More info on org deletion can be found here.

Manually stop building

You can stop building your project on CircleCI at any time by navigating to the project settings page and clicking the "Stop Building" button.


In the event you are for some reason unable to stop building, you can always manually stop building by removing access to the repository from GitHub.

Some reasons you may potentially need to do this:

  • You have renamed your Organization, Username, or Repository
  • User credentials have become stale 

Removing CircleCI webhooks from GitHub

1. Start by accessing your GitHub repository settings. You can visit this directly by navigating to and clicking the "settings" button on the repository page.



2. From the settings page, on the left side in the vertical navigation, we see the two pages we are interested in, "Webhooks" and "Deploy keys".



3. From the Webhooks page, locate any Webhooks that post to CircleCI and delete them. Screen_Shot_2019-04-15_at_10.54.26_AM.png


4. Lastly, navigate to the "Deploy keys" page and delete the key added by CircleCI



This will stop the project from building on CircleCI in the event you need to manually remove access. Please note this will invalidate user keys as well (not personal API tokens scoped per user).


Additional Resources 

Was this article helpful?
33 out of 59 found this helpful



Article is closed for comments.