---
title: "Delete Org"
method: DELETE
path: "/v1/orgs/{org_id}"
tags: ["v1-orgs"]
---

# Delete Org

`DELETE /v1/orgs/{org_id}`

## Request

- Base URL: `https://api.tryardent.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tryardent.com/v1/orgs/{org_id}`
- Auth: none declared

Delete an organization.

Requires 'org.delete' permission (typically owner only).

⚠️ SMART DELETION LOGIC:
- Cannot delete your last organization
- You must either:
  1. Join/create another organization first, THEN delete this one
  2. Delete your account (which will auto-delete this org)

This ensures users always have at least one organization.
Manually deletes all related data: memberships, role grants, API keys, invites, etc.

WARNING: This is irreversible!

Returns:
    204 No Content on success

Raises:
    400: This is your last organization

## Path parameters

- `org_id` string, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

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