Huntress icon

Huntress

Interact with Huntress API

Actions86

Organizations → Delete an Organization

AI-generated

Summary

Deletes the Huntress organization with the specified ID. Optionally revokes its key, which stops agents from registering through GPOs, scripts, or RMM templates that reference the key.

Inputs

  • Id (required) — Numeric ID of the organization to delete.
  • Revoke Key — Whether to also revoke the organization's key. Defaults to false. Revoked keys can no longer register agents through referencing GPOs, scripts, or RMM templates.
  • Custom Body — Optional JSON merged with the request body; custom values take priority over fields set above.
  • Custom Headers — Optional HTTP headers to include in the request.
  • Query Filters — Optional query-string parameter names and values.
  • Batching — Controls grouping of input items and the pause between batches; defaults to one item per batch with a 1000 ms interval.
  • Debug — When enabled, includes the request URL, query parameters, headers, and body in a debug entry in the output.
  • Timeout (ms) — Maximum time to wait for response headers before aborting; defaults to 300000 ms.

Output shape

A response from the DELETE /v1/organizations/{id} endpoint for each input item.

The properties also expose pagination settings, but they are described for list operations and do not apply to this delete operation.

Links

Discussion