---
title: "Delete an organization"
method: DELETE
path: "/organizations/{id}"
tags: ["Organizations"]
---

# Delete an organization

`DELETE /organizations/{id}`

## Request

- Base URL: `https://api-staging.fanheroapi.com`
- URL: `https://api-staging.fanheroapi.com/organizations/{id}`
- Auth: API key in header `API Key`

## Path parameters

- `id` string, required

## Response `200`

Organization delted

- RestOrganizationOutput
  - `id` string, required
  - `name` string, required: The organization name
  - `kind` 'PUBLIC' | 'EXCLUSIVE' | 'PAYWALL' | 'PRIVATE', required: The organization's privacy level
  - `web_url` string[], required: The URLs of the end user web applications.
  - `identifier` string, required
  - `itunes_id` string, required: Apple ID is the account that you use to access Apple services.
  - `current_version` string, required
  - `onesignal_id` string, required
  - `min_compat_version` string, required
  - `portal_url` string, required: The URL to the clients portal on the FanHero platform
  - `settings` OrganizationSettings, required
    - `spreedly` object, required
    - `language` string, required
    - `firebase` object, required
    - `zoho` object, required
    - `bex` object, required
    - `facebook` object, required
    - `default_geofence` GeofenceObject, required
      - `countryCodes` string[]: Array of ISO country codes
      - `type` 'WHITELIST' | 'BLACKLIST': Geofence type
    - `verify_email` boolean, required
    - `sessions_limit` object, required
    - `stripe` object, required
    - `aws` object, required
    - `apple` object, required
    - `bucket` string, required
  - `customization` CustomizationObject, required
    - `logo` string: The media ID representing the logo image
    - `icon` string: The media ID representing the icon image
    - `thumbnail` string: The media ID representing the thumbnail image
  - `email_settings` object, required
  - `tenant_id` string, required
  - `avatarCdnBaseUrl` string, required
  - `audioCdnBaseUrl` string, required
  - `imageCdnBaseUrl` string, required

## Changes

- **2026-11-03** `a1b8cc2f3492`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fanhero/apis/tenant-endpoints/changes/organizations/:id/delete.md)

---

[API](https://skmtc.dev/fanhero/apis/tenant-endpoints.md) - [All operations](https://skmtc.dev/fanhero/apis/tenant-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/fanhero/apis/tenant-endpoints/revisions/a1b8cc2f3492?raw)
