latestOpenAPI 3.0.12026-08-1781258463.9 KB
2ecf51b1543e
Core/Me
Deletes the caller's account.
Soft-deletes the account, kills every active session, signs the caller out. Refuses two cases: superadmin self-delete, and "sole admin of the tenant" — both need an admin handover first. The caller must echo their own email in emailConfirmation as a double-check, because nobody deletes their own account by accident on the first try.
delete/api/v1/core/me
Request body
Response
Account soft-deleted, sessions revoked, caller signed out