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

space_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

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}