Elastic Agent policies
Update an agent policy
Spaces method and path for this operation:
<div><span class="operation-verb put">put</span> <span class="operation-path">/s/{space_id}/api/fleet/agent_policies/{agentPolicyId}</span></div>Refer to Spaces for more information.
Update an agent policy by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-all.
put/api/fleet/agent_policies/{agentPolicyId}
Path parameters
agentPolicyIdstring required
The ID of the agent policy
Query parameters
format'simplified' | 'legacy'
Format for the response: simplified or legacy
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Request body
Response
Successful response
Changes
Changed in 1 of the 176 revisions of this API.4
- ○
added the new optional request property
new-optional-request-property
- ○
request property
deprecatedrequest-property-deprecated
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
response property
item/download_source_iddeprecatedresponse-property-deprecated
- ○
Of the 176 revisions, 20 have no diff computed.