DELETE /v1/account
Deletes the authenticated account and returns its account tombstone. The operation is rejected while the account still owns organizations; transfer or close those organizations before retrying. This endpoint acts on the caller’s account and does not accept another account’s identifier.
- TypeScript
- Python
- Rust
- Go
TypeScript
Parameters
Returns
200 The deleted account tombstone. Account
Headers: Photon-Version. The raw response carries these headers; see Raw responses.
Present only while a WorkOS dashboard admin is impersonating this account: the admin’s email. Attribution only; grants nothing.