dcloud git webhooks update

Change a webhook

IAM git:UpdateWebhookChanges stateAsks before it deletes (-y skips)

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>Required

    string

    Also accepted as --repo-id. Constraints: uuid

  • <hookId>Required

    string

    Also accepted as --hook-id. Constraints: uuid

Flags

  • --urlOptional

    string

    The public URL each delivery is POSTed to

    Constraints: url

  • --eventsOptional

    enum

    The events that trigger a delivery

    One of: push, tag, pull_request, pull_request_review, issues, issue_comment, release, merge_queue

  • --secretOptional

    string

    A new signing secret; absent keeps the stored one, null stops signing

    Constraints: max 200 chars

    May be null.

  • --is-activeOptional

    boolean (--is-active / --no-is-active)

    false pauses deliveries without deleting the hook; true when created without it

Example

dcloud git webhooks update repoId hookId

Generated from the API description, the same one the API checks requests against and the CLI is built from.