latestSwagger 2.02026-08-109450223.9 KB

94acb422c07d

Agents

Uninstall Agent

Schedules a remote uninstall of a single Agent, removing the Huntress agent from the host. Uninstall is asynchronous: the host is tasked to uninstall on its next callback, and the Agent is immediately removed from your account, so subsequent requests for it return 404.

This endpoint requires an API key with permission to uninstall agents. Note that the default account API key is read-only, so you'll need to create a user-based API key with the appropriate permissions to access this endpoint.

delete/v1/agents/{id}

Path parameters

idinteger required

Response

Agent scheduled for uninstall.