Skip to main content
Version: v1.0.0(int)

E004: Delete user

DELETE /api/user

Deletes the authenticated user's account: removes the platform user record and its memberships, and deletes the Firebase credential. Any organization the caller solely owns is cascade-deleted along with all of its data; co-owned organizations keep their other owners.

Authentication

User-scoped route. Requires Authorization: Bearer <firebase-id-token>; X-Org-Id is not required. Access: Authenticated.

Request

No body.

Response — 200 OK

{ "deletedId": "uuid" }

Errors

HTTPcodeCondition
401unauthorizedMissing, malformed, or rejected Firebase ID token.
404not_foundNo platform user row for the verified identity.

Workflow

Calls W004 Delete user.