Rotate an uninstall token

Base URL
https://{kibana_url}
Auth

Rotate the uninstall token for an agent policy. Only applicable to policies with tamper protection enabled.

Required authorization

Privileges fleet-agents-all

Path parameters

agentPolicyId string · max length: 255 required

The ID of the agent policy whose uninstall token should be rotated

Header parameters

kbn-xsrf string required

A required header to protect against CSRF attacks

Responses

Successful response

application/json
message string required

Bad Request

application/json
attributes object required
error string
errorType string
message string required
statusCode number

Not Found

application/json
attributes object required
error string
errorType string
message string required
statusCode number
Base URL
https://{kibana_url}