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 ”Request Body required
Section titled “Request Body required ”object
policy
required
The policy to validate
string
correlationId
Correlation ID for tracking
string
82c4fce1-d2c7-48cb-a647-6993dbe37819Responses
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
82c4fce1-d2c7-48cb-a647-6993dbe37819Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error