AgentAccessTokens
Update Agent Access Token
Optionally update the tokenEnabled settings of the passed in agent access token. Update these settings by invoking the following endpoint:
PATCH https://YourAccount.lacework.net/api/v2/AgentAccessTokens/{id}
Get the agent access token id by calling the GET /api/v2/AgentAccessTokens endpoint.
Replace {id} with the long hexadecimal access token identifier returned in the accessToken field of the GET /api/v2/AgentAccessTokens endpoint response.
Here is an example body payload:
{ "tokenEnabled": "1" }
patch/api/v2/AgentAccessTokens/{id}
Path parameters
idstring required
AgentAccessTokens {id}
Headers
Authorizationstring required
Bearer Access Token. For example, "Bearer {YourAPIToken}"
Content-Typestring required
application/json
Request body
Response
No Error