POST
/v1/policy/conditionUpdates a policy condition
Requires permission POLICY_MANAGEMENT or POLICY_MANAGEMENT_UPDATE
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
operatorstringrequired
Operator used to compare the subject to the value
subjectstringrequired
Subject the condition evaluates
uuidstringrequired
UUID of the policy condition to update
valuestringrequired
Value the subject is compared to
violationTypestringoptional
Violation type produced when the condition matches. Required for `EXPRESSION` subjects
200The updated policy condition
operatorstringrequired
Operator used to compare the subject to the value
subjectstringrequired
Subject the condition evaluates
uuidstringrequired
UUID of the policy condition
valuestringrequired
Value the subject is compared to
violationTypestringoptional
Violation type produced when the condition matches
401Unauthorized
404The UUID of the policy condition could not be found
Error handling
A 401 is returned: Unauthorized. A 404 is returned: The UUID of the policy condition could not be found.