List webhooks
This command lists webhooks. The secret is never shown.Show a webhook
This command shows one webhook.<id>- Webhook ID fromwebhooks list
List webhook events
This command lists the events a webhook can subscribe to.Create a webhook
This command creates a webhook.--event takes create, update, delete, publish or unpublish. Repeat it for several events. The endpoint is unique in the workspace. The secret can be set but never read back.
Update a webhook
This command changes a webhook. Only the flags you pass change.<id>- Webhook ID fromwebhooks list
--event replaces the whole list of events. A webhook on a deprecated or expired payload version cannot be updated or activated. Delete it and create a new one.
Delete a webhook
This command deletes a webhook.<id>- Webhook ID fromwebhooks list