---
title: "DELETE Delete an organization"
description: "Deletes the authenticated organization."
last_updated: "2026-05-06T07:33:50.244397+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/organization/organizationcontroller-deleteorganization"
---

<APIEndpoint
  method={"DELETE"}
  path={"/organization"}
  summary={"Delete an organization"}
  description={"Deletes the authenticated organization."}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}}]} />

## Request Body

No request body is required.

<APIRequestBody
  contentType={"application/json"}
  required={false}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"Organization deleted successfully."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"401"}
  description={"Unauthorized - Authentication required."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"404"}
  description={"Not Found - Organization not found."}
  contentType={"application/json"}
/>

## Try It

<APIPlayground
  method={"DELETE"}
  path={"/organization"}
  parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}}]}
  requestBody={{"contentType":"application/json","required":false,"description":"No request body is required.","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/llms.txt) for all pages in this wiki.
