Script agent removal

Hi All,

Hopefully this is a quick question for someone.. but I can't find any API to unenroll an agent from Elastic? I've tried a few methods but can't seem to make progress.

Is anyone aware of anyway to script an agent removal?



probably you have to use this:

POST /agents/{agentId}/unenroll


1 Like

Clearly i'm just blind and missed that document... thanks for the link!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.