v1

latestOpenAPI 3.0.3FortiCNAPP Use License2026-08-041754351.1 MB
AgentAccessTokens

Search Agent Access Tokens

Search all enabled agent access tokens in your FortiCNAPP instance by invoking the following endpoint:

POST https://YourAccount.lacework.net/api/v2/AgentAccessTokens/search

To limit the returned result, optionally specify one or more filters in the request body. For more information about using filters, see the Simple & Advanced Search section.

You can filter on the following fields:

  • accessToken

  • createdTime

  • tokenAlias

  • tokenEnabled

  • version

Here is an example body payload:

{ "filters" : [ { "expression": "eq", "field": "tokenAlias", "value": "Eng" } ] }

post/api/v2/AgentAccessTokens/search

Headers

Authorizationstring required

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

Content-Typestring required

application/json

Request body

returnsstring[]

Use this attribute to specify which top-level fields of the response schema you want to receive.

Response

No Error (List of Agent Access Tokens)