Permission Rule Sets

Replace rule set rules

Replace the set's full ordered rule list (idempotent PUT).

Every binding pointing at the set picks the new list up at once — the single-place edit rule grouping exists for.

put/permission-rule-sets/{rule_set_id}/rules

Path parameters

rule_set_idstring required

Request body

effect'allow' | 'deny' required

Whether this rule allows or denies the matched request.

match_mode'regex' | 'prefix' | 'exact'

How path is interpreted: regex (full-match), prefix (string prefix), or exact (equality). Defaults to regex for backwards compatibility.

methodsstring[] nullable

HTTP methods to match (case-insensitive). None matches all.

operationsstring[] nullable

OpenAPI operation IDs to match. None matches all operations.

pathstring nullable

Path pattern to match. Interpreted per match_mode: regex uses full-match semantics (the pattern must describe the whole path); prefix and exact are literal. None matches all paths.

Response

Successful Response

Changes

Changed in 1 of the 114 revisions of this API.1