PUT
/v1/policy/{uuid}/conditionCreates a new policy condition for an existing policy
Requires permission POLICY_MANAGEMENT or POLICY_MANAGEMENT_UPDATE
uuidstringrequired
The UUID of the policy
operatorstringrequired
Operator used to compare the subject to the value
subjectstringrequired
Subject the condition evaluates
valuestringrequired
Value the subject is compared to
violationTypestringoptional
Violation type produced when the condition matches. Required for `EXPRESSION` subjects
201The created 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 could not be found
Error handling
A 401 is returned: Unauthorized. A 404 is returned: The UUID of the policy could not be found.