policy
Accept, dismiss, turn off, restore or edit a Rule
Send status to change state, or Rule fields to edit. Editing an active Rule returns a new Rule whose replaces names the old one. Send If-Match with the ETag from policy.rules.get.
PATCH
Accept, dismiss, turn off, restore or edit a Rule.
Scope:
policy:rules:write. See API Tokens.Authorizations
Headers
Path Parameters
Body
application/json
Send status, or Rule fields to edit. Not both. Editing an active Rule replaces it with a new id.
Response
OK
A Rule that decides whether an agent action is allowed, needs approval or is refused.