---
title: "Delete My Account"
method: DELETE
path: "/v1/me"
tags: ["v1-auth"]
---

# Delete My Account

`DELETE /v1/me`

## 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/me`
- Auth: none declared

Delete the current user's account.

Sole owners must transfer ownership or contact support before account
deletion can proceed. This prevents orphaning organizations; org
auto-delete is intentionally not part of this endpoint.

What gets deleted:
- User's memberships in all orgs
- User's role grants
- User's API keys
- Audit trail references (nullified, not deleted)
- User profile (public.users)
- Auth account (auth.users)

What gets preserved (nullified):
- Invites sent by user (invited_by_user_id → NULL)
- Role grants created by user (granted_by → NULL)
- API keys created by user (created_by → NULL)

Returns:
    204 No Content on success

Raises:
    400: User is sole owner of one or more orgs

Example error response:
{
    "detail": "Cannot delete account while you are the sole owner of these organizations. Transfer ownership or contact support: Acme Corp (org_abc)"
}

## Response `204`

Successful Response

---

[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)
