Skip to main content

prefect.cli.cloud.webhook

Manage Prefect Cloud Webhooks.

Functions

webhook_ls

webhook_ls()
Fetch and list all webhooks in your workspace.

webhook_get

webhook_get(webhook_id: Annotated[UUID, cyclopts.Parameter(help='The webhook ID to retrieve.')])
Retrieve a webhook by ID.

webhook_create

webhook_create(webhook_name: Annotated[str, cyclopts.Parameter(help='The name of the webhook.')])
Create a new Cloud webhook.

webhook_rotate

webhook_rotate(webhook_id: Annotated[UUID, cyclopts.Parameter(help='The webhook ID to rotate.')])
Rotate url for an existing Cloud webhook, in case it has been compromised.

webhook_toggle

webhook_toggle(webhook_id: Annotated[UUID, cyclopts.Parameter(help='The webhook ID to toggle.')])
Toggle the enabled status of an existing Cloud webhook.

webhook_update

webhook_update(webhook_id: Annotated[UUID, cyclopts.Parameter(help='The webhook ID to update.')])
Partially update an existing Cloud webhook.

webhook_delete

webhook_delete(webhook_id: Annotated[UUID, cyclopts.Parameter(help='The webhook ID to delete.')])
Delete an existing Cloud webhook.