Rotate an uninstall token
Server:
https://{kibana_url}
- POST /api/fleet/uninstall_tokens/{agentPolicyId}/rotate
- POST /s/{space_id}/api/fleet/uninstall_tokens/{agentPolicyId}/rotate
Refer to Spaces for more information.
Rotate the uninstall token for an agent policy. Only applicable to policies with tamper protection enabled.
[Required authorization] Route required privileges: fleet-agents-all.
Path Parameters
-
agentPolicyIdstring · max: 255required -
The ID of the agent policy whose uninstall token should be rotated
Responses
Successful response
-
messagestringrequired
Bad Request
-
attributesobjectrequired -
errorstring -
errorTypestring -
messagestringrequired -
statusCodenumber
Not Found
-
attributesobjectrequired -
errorstring -
errorTypestring -
messagestringrequired -
statusCodenumber