AWS CodePipeline
User Guide (API Version 2015-07-09)

The procedures in this guide support the new console design. If you choose to use the older version of the console, you will find many of the concepts and basic procedures in this guide still apply. To access help in the new console, choose the information icon.

Delete the Webhook for Your GitHub Pipeline

To use the AWS CLI to delete a webhook:

  1. You must deregister the webhook before you delete it. Call the deregister-webhook-with-third-party command and include the --webhook-name parameter.

    The following sample command deregisters the webhook named "my-webhook".

    aws codepipeline deregister-webhook-with-third-party --webhook-name my-webhook
  2. Call the delete-webhook command and include the --name parameter.

    The following sample command deletes the webhook named "my-webhook".

    aws codepipeline delete-webhook --name my-webhook