Resilio Connect Management Console allows to remotely disconnect an agent and thus remove it from all jobs.
Understanding what happens next comes from knowing how agent is authorized on MC - using bootstrap token and client token (read more).
Files removalWhen removing agent from MC this way, mind parameter "Keep folder data" in Agent profile as it may force agent to remove files which were part of the job.
Here's what happens when admin deletes and Agent from the Console
Agent's client_token is erased from MC records and agent is not authorized anymore.
If agent was connected to MC using only MC's IP address (no config file), it will automatically send new request for approval with same client_token.
If agent was connected to MC using sync.conf file, it will use bootstrap_token when attempting to automatically reconnect within 30 seconds after being removed. If bootstrap_token in config is valid, the Agent will successfully reconnect. If bootstrap_token is invalid, agent will send request for approval.
Until the Agent reconnects, here's what will happen with other MC's components:
The agent will free up one seat in the license of its type (server, desktop, NAS or universal)
Agent will be removed from jobs and will rejoin only Sync jobs after reconnecting to MC, but no script jobs or Distribution/Consolidation jobs. You'll see following error message in Management console:
Removed agent will be also removed from its groups. The Agent won't rejoin the group if group sorts agents by tags.
Removing Management console agent
If you accidentally removed Management console agent, it will automatically re-connect to Management console after 420 seconds. You'll also need to re-add it to its jobs and groups.
Removing agent from the agent's side
Stop agent process and delete its storage folder.