Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

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