v106

OpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-03812347972.4 KB
workspace

update an existing protection rule

post/w/{workspace}/workspaces/protection_rules/{rule_name}

Path parameters

workspacestring required
rule_namestring required

Name of the protection rule to update

Request body

rulesProtectionRuleKind[] required

Configuration of protection restrictions

bypass_groupsstring[] required

Groups that can bypass this ruleset

bypass_usersstring[] required

Users that can bypass this ruleset

Response

protection rule updated successfully