v106

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

list all protection rules for a workspace

get/w/{workspace}/workspaces/protection_rules

Path parameters

workspacestring required

Response

list of protection rules

namestring required

Unique name for the protection rule

workspace_idstring
rulesProtectionRuleKind[] required

Configuration of protection restrictions

bypass_groupsstring[] required

Groups that can bypass this ruleset

bypass_usersstring[] required

Users that can bypass this ruleset

Example response

[
  {
    "name": "Production Protection"
  }
]