dcloud git branch-protection delete

Remove a branch protection rule

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

Synopsis

dcloud git branch-protection delete repoId ruleId

Arguments

  • <repoId>Required

    string

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

  • <ruleId>Required

    string

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

Example

dcloud git branch-protection delete repoId ruleId

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