Validate policy
POST /v2/compliance/validate
POST
/v2/compliance/validate
Validate a policy definition to ensure it conforms to the expected format and rules.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” X-API-Key
string
API Key
X-API-Secret
string
API Secret
Request Body required
Section titled “Request Body required ”object
policy
required
The policy to validate
string
correlationId
Correlation ID for tracking
string
e271bc5c-f870-44cd-8462-54280d0411f6Responses
Section titled “ Responses ”The policy validation result indicating whether the policy is valid and any errors found.
object
valid
required
Whether the policy is valid
boolean
true errors
Validation errors if any
Array<string>
[ "Invalid policy format"] correlationId
Correlation ID
string
e271bc5c-f870-44cd-8462-54280d0411f6Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error