v1

latestOpenAPI 3.0.3FortiCNAPP Use License2026-08-041754351.1 MB
Queries

Update Queries

Update an existing LQL query registered in your FortiCNAPP instance by invoking the following endpoint:

PATCH https://YourAccount.lacework.net/api/v2/Queries/{queryId}

Replace {queryId} with the queryId value returned for an LQL query in the response when the GET /api/v2/Queries endpoint is invoked.

patch/api/v2/Queries/{queryId}

Path parameters

queryIdstring required

Identifier of the query that executes while running the policy.

Headers

Authorizationstring required

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

Content-Typestring required

application/json

Request body

queryTextstring

When sending a request, provide a human-readable text syntax for specifying selection, filtering, and manipulation of data.

Response

No Error