CLI — Webhooks
metalhost webhook registers HTTPS endpoints for resource
events. Deliveries are signed with HMAC-SHA256.
Commands
| Command | What it does |
|---|---|
webhook list | List subscriptions. |
webhook create --name ... --endpoint ... --event ... | Create (secret shown once). |
webhook get|update|delete NAME | Manage subscriptions. |
webhook deliveries NAME | Recent delivery attempts. |
metalhost webhook create \
--name webhook-subscriptions/deploy-hook \
--endpoint https://hooks.example.com/metalhost \
--event compute.vm.* \
--event ops.operation.completed What's next
- Go SDK — Webhooks — HMAC verification code
- Examples → webhooks