cURL
curl --request POST \ --url https://api-eu.cybedefend.com/organization/{organizationId}/policies/validate \ --header 'Content-Type: application/json' \ --data ' { "yamlContent": "<string>" } '
{ "valid": true, "errors": [], "warnings": [] }
YAML policy configuration to validate
Validation result
Whether the policy is valid
true
List of validation errors
[]
List of warnings