v1

latestOpenAPI 3.0.3FortiCNAPP Use License2026-08-041754351.1 MB
Exceptions

Create Policy Exceptions

Create exceptions for a specific policy by specifying the exception metadata when invoking the following endpoint:

POST /api/v2/Exceptions?policyId={policyId}

Replace {policyId} with the policyId value returned for an LQL policy in the response when invoking the following endpoint:

GET /api/v2/Policies

post/api/v2/Exceptions

Query parameters

policyIdstring required

Policy ID

Headers

Authorizationstring required

Bearer Access Token. For example, "Bearer {YourAPIToken}"

Content-Typestring required

application/json

Request body

descriptionstring

A brief description of the new exception.

Response

No Error