Start account deletion reauthentication

Returns {challenge,expiresAt}. Keep the signed challenge, sign in again as the same user, then confirm deletion. API keys are not accepted.

get/api/account/deletion-challenge

Request

  • Base URL: https://api.peelaway.io
  • URL: https://api.peelaway.io/api/account/deletion-challenge
  • Auth: API key in cookie better-auth.session_token

Response

Signed challenge valid for fifteen minutes

Changes

No recorded changes to this operation across all 1 revision of this API.