---
title: "Delete an Organization"
method: DELETE
path: "/v1/accounts/{account_id}/organizations/{id}"
tags: ["Reseller"]
---

# Delete an Organization

`DELETE /v1/accounts/{account_id}/organizations/{id}`

## Request

- Base URL: `https://api.huntress.io`
- URL: `https://api.huntress.io/v1/accounts/{account_id}/organizations/{id}`
- Auth: `basic` (a scheme the document does not define)

Deletes the specified Organization.

**Please note:** This will remove the organization and associated configurations across the Huntress Platform, including Managed SAT. For more information, see our [offboarding guide](https://support.huntress.io/hc/en-us/articles/51332785737235-Huntress-Product-Offboarding-Guide).

## Path parameters

- `account_id` integer, required
- `id` integer, required

## Query parameters

- `revoke_key` boolean

## Response `202`

Organization deleted

- object
  - `organization` Organization: Organization model
    - `id` integer: A Huntress-unique identifier for the organization.
    - `agents_count` integer: Number of all agents for the organization.
    - `account_id` integer: The unique identifier of the account associated with the organization.
    - `created_at` string, date-time: A timestamp for when the organization was created, formatted as per ISO-8601.
    - `incident_reports_count` integer: Number of incident reports for the organization.
    - `key` string: The subdomain associated with the organization.
    - `logs_sources_count` integer: Number of SIEM log sources that are billable and eligible for billing.
    - `identity_provider_tenant_id` string: The Identity Provider Tenant ID associated with the organization
    - `billable_identity_count` integer: Number of billable identities for the organization.
    - `name` string: The public facing name for this organization.
    - `report_recipients` string[]: A list of emails Huntress is configured to send notification emails for the organization.
    - `sat_learner_count` integer: Number of SAT learners.
    - `updated_at` string, date-time: A timestamp for when the organization was updated, formatted as per ISO-8601.

## Other responses

- `400`: Invalid request parameters.
- `403`: There was an issue with your API credential or permissions.
- `404`: Organization not found, possibly because it has already been deleted.
- `409`: There is a conflict about the organization that prevents deletion. See error message for more details.
- `422`: Failed to delete organization. Please contact support.

## Changes

- **2026-09-09** `ef3bb6b21e7a`: 2 info
  - added the new optional `query` request parameter `revoke_key`
  - added the non-success response with the status `400`

[Operation history](https://skmtc.dev/huntress/apis/huntress-api-reference/changes/v1/accounts/:account_id/organizations/:id/delete.md)

---

[API](https://skmtc.dev/huntress/apis/huntress-api-reference.md) - [All operations](https://skmtc.dev/huntress/apis/huntress-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/huntress/apis/huntress-api-reference/revisions/f593a257b4cc?raw)
