rbac-policies

Validate a CEL expression

Checks if a CEL expression is syntactically valid without creating a policy. Useful for validating expressions before saving.

post/admin/v1/rbac-policies/validate

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /admin/v1/rbac-policies/validate
  • Auth: HTTP bearer

Request body

conditionstring required

CEL expression to validate

Response

Validation result

errorstring nullable

Error message if invalid

validboolean required

Whether the expression is valid

Changes

No recorded changes to this operation across all 1 revision of this API.