Uninstall the Agent Client Collector from macOS using a single-line command

  • Release version: Xanadu
  • Updated August 1, 2024
  • 1 minute to read
  • Uninstall the Agent Client Collector from macOS machine by running an efficient single-line command. If the agent is connected to the instance, uninstall Agent Client Collector manually.

    Before you begin

    Role required: agent_client_collector_admin

    Procedure

    Run the following command.
    bash -c "$(curl -L https://<Instance URL>/api/sn_agent/agents/install_agent)" -s "--remove"
    Note:
    Uninstalling the Agent Client Collector removes the acc.yml file and its directory from your machine. The user and group _servicenow, created as part of the installation process, is also removed.