---
title: "Delete Organization"
method: DELETE
path: "/v1/organizations/{organization_id}/"
tags: ["Organizations"]
deprecated: true
---

# Delete Organization

`DELETE /v1/organizations/{organization_id}/`

## Request

- Base URL: `https://logfire-api.pydantic.dev/api`
- URL: `https://logfire-api.pydantic.dev/api/v1/organizations/{organization_id}/`
- Auth: OAuth 2
  - Authorization code: `api/oauth/authorize`
  - Token URL: `/api/oauth/token` scopes: `organization:admin`
- TypeScript: <https://skmtc.dev/pydantic/apis/pydantic-logfire-api/docs/v1/organizations/:organization_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Delete an organization (self-hosted admin only).

This endpoint is deprecated. Use `/api/v1/organization/` with an org-context token instead.

## Path parameters

- `organization_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/pydantic/apis/pydantic-logfire-api.md) - [All operations](https://skmtc.dev/pydantic/apis/pydantic-logfire-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pydantic/apis/pydantic-logfire-api/revisions/7996e45256f4?raw)
