Huntress icon

Huntress

Interact with Huntress API

Actions86

Reseller → Delete an Organization

AI-generated

Summary

Deletes the specified organization from a Huntress reseller account using DELETE /v1/accounts/{account_id}/organizations/{id}. You can optionally revoke the organization key as part of the deletion.

Inputs

  • Account Id (required) — The reseller account ID.
  • Id (required) — The ID of the organization to delete.
  • Revoke Key — Set to true to also revoke the organization key. Referencing GPOs, scripts, or RMM templates will stop registering agents after deletion.
  • Options — Optional custom JSON request body, custom HTTP headers, and query-string filters. Batching and timeout settings are also available. Pagination settings are declared, but this operation deletes one organization rather than listing results.

Output shape

Not established from the provided source excerpt.

The source pack contains only function and method signatures, not implementation bodies, so the request's response handling and returned data shape cannot be confirmed.

Examples

Example 1: Delete an organization and revoke its key

Provide the account ID and organization ID, then set Revoke Key to true.

Links

Discussion