AgentAccessTokens
Create Agent Access Token
Create a new agent access token that an agent can use to connect and send data to your FortiCNAPP instance by invoking the following endpoint:
POST https://YourAccount.lacework.net/api/v2/AgentAccessTokens
Here is an example body payload:
{ "tokenAlias": "prod", "tokenEnabled": "1" }
post/api/v2/AgentAccessTokens
Headers
Authorizationstring required
Bearer Access Token. For example, "Bearer {YourAPIToken}"
Content-Typestring required
application/json
Request body
Response
No Error