Unenroll an agent

Base URL
https://{kibana_url}
Auth

Unenroll a specific agent, optionally revoking its enrollment API key.

Required authorization

Privileges fleet-agents-all

Path parameters

agentId string required

The agent ID

Header parameters

kbn-xsrf string required

A required header to protect against CSRF attacks

Request body

force boolean
revoke boolean

Responses

200

Successful response

application/json
400

Bad Request

application/json
Base URL
https://{kibana_url}