Elastic Agent actions

Remove an OpAMP collector

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<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

Request

  • Base URL
    https://localhost:5601
  • URL
    https://localhost:5601/api/fleet/agents/{agentId}/remove_collector
  • Auth
    • API key in header Authorization
    • or HTTP basic

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

Changes

No operation changes recorded.