API reference/Auth
Delete the account
DELETE
/v1/auth/me
Requires the password, and with two-factor authentication on a code, recovery code or passkey response (start one with
POST /v1/auth/passkeys/verification). Signs out every device.Authorization
bearerAuthorizationheader · stringrequired
Session token from POST /v1/auth/login with "transport": "bearer". Browsers use the session cookie that login sets instead.
Body
application/jsonpasswordstringrequired
maxLength: 512codestring
With two-factor authentication on: a code from the authenticator app
maxLength: 16passkeyobject
With two-factor authentication on, a passkey's response instead of code
2 fields
ceremony_tokenstringrequired
From POST /v1/auth/login/mfa/passkey when signing in, or POST /v1/auth/passkeys/verification when signed in
maxLength: 256credentialobjectrequired
The PublicKeyCredential from navigator.credentials.get(), as JSON
recovery_codestring
With two-factor authentication on, instead of code
maxLength: 32Responses
errors: application/problem+json204
No Content
401
Unauthorized
422
Unprocessable Entity
500
Internal Server Error
503
Service Unavailable
Match errors on the problem's code, which stays the same, not on its message.