Skip to main content
POST
Rotate an agent's token.

Authorizations

Authorization
string
header
required

Enter your JWT token

Path Parameters

id
integer<int32>
required

The identifier of the agent.

Query Parameters

confirm
boolean
default:false

Must be true. Acknowledges that the running agent will stop working until reconfigured.

Response

The agent's new token.

Response for the agent token read and rotate endpoints.

agentId
integer<int32>
required

Identifier of the agent the token belongs to.

token
string
required

The agent's token - the credential it uses to authenticate to the task service.