Profile

Delete User Account

DELETE /api/v1/profile/delete Permanently delete user account and ALL associated data (HARD DELETE).

This endpoint performs a complete deletion of:

  • User account
  • All gemstones and their images
  • Physical image files from storage
  • Subscription rows are detached, not deleted: user_id goes NULL and only store/billing facts and the numeric RevenueCat id remain (LNK-SUBKEEP)
  • All OTP records

⚠️ WARNING: This action is IRREVERSIBLE. All data will be permanently deleted.

Returns: UserDeletionResponse with deletion statistics

Raises: HTTPException 404: User not found HTTPException 500: Deletion failed

delete/api/v1/profile/delete

Request

  • Base URL: https://api.gemstoneaiapp.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.gemstoneaiapp.com/api/v1/profile/delete
  • Auth: HTTP bearer

Headers

X-Apple-Authorization-Codestring nullable

Response

Successful Response

successboolean required
messagestring required
user_idinteger required
stats_before_deletionobject required
deleted_countsobject required

Changes

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