delete_webhook

delete_webhook(**kwargs)

Deletes a previously created webhook by name. Deleting the webhook stops AWS CodePipeline from starting a pipeline every time an external event occurs. The API returns successfully when trying to delete a webhook that is already deleted. If a deleted webhook is re-created by calling PutWebhook with the same name, it will have a different URL.

See also: AWS API Documentation

Request Syntax

response = client.delete_webhook(
    name='string'
)
Parameters
name (string) --

[REQUIRED]

The name of the webhook you want to delete.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • CodePipeline.Client.exceptions.ValidationException
  • CodePipeline.Client.exceptions.ConcurrentModificationException