rules

Validate an action expression.

Validate an action expression as used in rule actions. Returns whether the submitted expression is valid. If the expression is invalid, a 422 validation error is returned instead.

get/v1/rules/validate-expression

Query parameters

expressionstring required
Example:{{ description | upper }}

The action expression to validate.

Headers

X-Trace-Idstring uuid
Example:40c71bbb-c676-4f24-83cf-cc725d7d7a00

Unique identifier associated with this request.

Response

The expression is valid.

validboolean

Example response

{
  "valid": true
}

Changes

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