Fleet uninstall tokens

Rotate an uninstall token

Changed on

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/uninstall_tokens/{agentPolicyId}/rotate</span></div>

Refer to Spaces for more information.

Rotate the uninstall token for an agent policy. Only applicable to policies with tamper protection enabled.<br/><br/>[Required authorization] Route required privileges: fleet-agents-all.

post/api/fleet/uninstall_tokens/{agentPolicyId}/rotate

Request

  • Base URL
    https://localhost:5601
  • URL
    https://localhost:5601/api/fleet/uninstall_tokens/{agentPolicyId}/rotate
  • Auth
    • API key in header Authorization
    • or HTTP basic

Path parameters

agentPolicyIdstring required

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

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Response

Successful response

messagestring required

Changes