Elastic Agent policies
Version 8.19 View the latest version (v9)
Elastic Agent policies APIs enable you to manage agent policies, including creating, updating, and deleting policies, as well as to retrieve agent policy outputs, manifests, and auto-upgrade status information.
Endpoints
9 endpoints
-
GET
List agent policies
/api /fleet /agent_policies -
POST
Create agent policy
/api /fleet /agent_policies -
POST
Bulk get agent policies
/api /fleet /agent_policies /_bulk_get -
POST
Delete agent policy by ID
/api /fleet /agent_policies /delete -
GET
Get agent policy by ID
/api /fleet /agent_policies /{agentPolicyId} -
PUT
Update agent policy by ID
/api /fleet /agent_policies /{agentPolicyId} -
POST
Copy agent policy by ID
/api /fleet /agent_policies /{agentPolicyId} /copy -
GET
Download agent policy by ID
/api /fleet /agent_policies /{agentPolicyId} /download -
GET
Get full agent policy by ID
/api /fleet /agent_policies /{agentPolicyId} /full