Type to search.

Update agent by ID

Base URL
https://{kibana_url}
Auth

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.

agentId string required

Header parameters

kbn-xsrf string required

Kibana's anti Cross-Site Request Forgery token. Can be any string value.

Request body

tags string[]
user_provided_metadata object

Responses

OK

application/json
item object required
access_api_key string
access_api_key_id string
active boolean required
default_api_key string
default_api_key_id string
enrolled_at string required
id string required
last_checkin string
local_metadata object
policy_id string
policy_revision number
status enum required
Values: offline error online inactive warning
type enum required
Values: PERMANENT EPHEMERAL TEMPORARY
unenrolled_at string
unenrollment_started_at string
user_provided_metadata object