Update an existing path permission rule
This API uses OAuth 2 with the implicit grant flow
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
3 - 128"example_id"
Permission identifier
3 - 128"dv.perm.12a37e91-bfc4-4e03-a330-13b5b84ab7cb"
Path pattern for matching files. Supports wildcards: "/path/to/file" for exact match, "/path/..." for recursive wildcard, "/path/*.ext" for extension matching.
1 - 1024Access level for path permissions. Hierarchical: ADMIN > WRITE > READ > NO_ACCESS.
ADMIN, WRITE, READ, NO_ACCESS Permission type controlling how access levels are granted or denied. ALLOW_LT_EQ grants specified level and all lower levels. ALLOW_EQ grants only the exact level. DENY_ALL denies all level granted above in the table. DENY_EQ denies only the exact level.
ALLOW_LT_EQ, ALLOW_EQ, DENY_ALL, DENY_EQ User ID to assign this permission to (mutually exclusive with group_id)
Group ID to assign this permission to (mutually exclusive with user_id)
Optional. ID of an existing rule to insert this rule above (lower evaluation_order). If not provided, the rule is added at the top (highest evaluation_order/priority).
Request completed successfully