Update Policy Rule
Partially update a policy rule.
PATCH
Update Policy Rule
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Slug of the workspace the request acts in
Maximum string length:
120Pattern:
^[a-z0-9]+(?:-[a-z0-9]+)*$Body
application/json
Request body for partially updating a policy rule.
What a rule does when it applies.
Available options:
allow, deny, cap, approval, safety, egress Required range:
-2147483648 <= x <= 2147483647The kind of subject a rule binds to.
Available options:
workspace, agent, user, group Response
Successful Response
Serialized policy rule returned to clients.
What a rule does when it applies.
Available options:
allow, deny, cap, approval, safety, egress The kind of subject a rule binds to.
Available options:
workspace, agent, user, group