Authentication
Delete Account
Permanently deletes the authenticated user’s account and all associated data. This action cannot be undone. The user must be authenticated to delete their account.
Delete Account
Documentation Index
Fetch the complete documentation index at: https://docs.traza.com.au/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This endpoint permanently deletes the authenticated user’s account and all associated data from the platform. This action is irreversible and will:- Delete the user’s Firebase Authentication account
- Remove all user data from Firestore (bookings, availability, gallery, etc.)
- Clear the user’s session cookie
- Permanently remove all associated records
Important Notes
- The user must be authenticated to delete their account - The operation can take up to 5 minutes to complete - All user data including bookings, messages, and gallery photos will be deleted - The session cookie will be cleared automatically after successful deletion
Use Cases
- User wants to permanently close their account
- Privacy compliance (GDPR right to erasure)
- Account cleanup after testing
Security
- Requires valid authentication session
- Only the authenticated user can delete their own account
- Session cookie is cleared after successful deletion
Future Considerations
In future implementations, this endpoint may check for:- Active subscriptions that need to be cancelled first
- Pending bookings that need to be resolved
- Outstanding payments or refunds
Delete Account