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

A new console design is available for this service. Although the procedures in this guide were written for the older version of the console, you will find many of the concepts and basic procedures in this guide still apply.

Delete the Webhook for Your GitHub Pipeline (CLI)

To use the AWS CLI to delete a webhook:

  1. Before you delete the webhook, you must deregister 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