dcloud git webhooks updateChange a webhook
Only the fields sent are written. The secret is write-only — omit it to keep the stored one, send null to stop signing deliveries.
Synopsis
dcloud git webhooks update repoId hookId [flags]Arguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid<hookId>Requiredstring
Also accepted as
--hook-id. Constraints: uuid
Flags
--urlOptionalstring
The public URL each delivery is POSTed to
Constraints: url
--eventsOptionalenum
The events that trigger a delivery
One of:
push,tag,pull_request,pull_request_review,issues,issue_comment,release,merge_queue--secretOptionalstring
A new signing secret; absent keeps the stored one, null stops signing
Constraints: max 200 chars
May be null.
--is-activeOptionalboolean (--is-active / --no-is-active)
false pauses deliveries without deleting the hook; true when created without it
Example
dcloud git webhooks update repoId hookIdGenerated from the API description, the same one the API checks requests against and the CLI is built from.