Auth API reference

Auth API · Consumer-Me

delete/{app_slug}/v1/meAuth

Permanently delete the signed-in EndUser account

Removes the EndUser, all sessions, and all related records inside this app. Cannot be undone. The app audit log keeps one `auth.account.deleted` row (`via: self`; username and email domain only, never the address), and `user.deleted` fires with `via: "self"`.

Path parameters

app_slug*string

Slug of the app.

Response · 204

Account deleted.

Example

Request

DELETE https://api.auth.productcraft.co/{app_slug}/v1/me
Authorization: Bearer YOUR_TOKEN