Update a webhook subscription
Updates a webhook subscription; parameters you don’t send are left unchanged. Send its current ETag in If-Match. The signing secret doesn’t change. Requires the webhooks:manage or org:admin scope.
Fields you leave out keep their current values. Clear description with -d description:=null.
Scopes: org:admin or webhooks:manage
tmh webhook-subscriptions update <subscriptionId> [flags]
-d, --data stringArray body field as key=value (dotted keys nest, key[]=v appends, key:=<json> sends JSON), or the whole body as @file, @- for stdin, or a JSON document; repeatable. Flags override -d fields, which override the document
--description string A description for your own reference.
--enabled Turn deliveries on or off.
--endpoint-url string The HTTPS URL to deliver events to.
--event-types strings The event types to deliver; one of: enrollment.certified, seat.consumed, seat.freed, learner.invited, learner.started, learner.certified, learner.expiring, learner.expired, learner.removed, invite.bounced, certificate.revoked, seats.low
-h, --help help for update
--if-match string send If-Match with this ETag, for a conditional write
--seats-low-threshold seats.low Send seats.low when available seats drop to this number.
--idempotency-key string Idempotency-Key for the write, instead of a generated one
--live use the "live" profile
--max-retries int times to retry a transient failure of a request that is safe to replay (default 2)
--profile string profile to use: "sandbox" (default) or "live"
--show-headers print each HTTP response's status and headers to stderr
--verbose print method, path, status, latency and request id of each HTTP attempt to stderr