Elastic Agent actions
Remove an OpAMP collector
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/fleet/agents/{agentId}/remove_collector</span></div>Refer to Spaces for more information.
Remove a specific OpAMP collector from the Fleet agents list. Marks the collector as unenrolled. This action does not invalidate API keys, so the collector can reconnect on its own.<br/><br/>[Required authorization] Route required privileges: fleet-agents-all.
post/api/fleet/agents/{agentId}/remove_collector
Path parameters
agentIdstring required
The collector agent ID
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Response
Successful response