Delete Account with Phrase Confirmation
Use Delete Account by Phrase to confirm account deletion with the required DELETE phrase.
The confirmation phrase helps prevent accidental account deletion. Account deletion removes the user account and personal data. Some data remains when legal retention applies.
This screen includes:
| # | Element | Description |
|---|---|---|
| 1 | Modal title | Displays Delete account. |
| 2 | Close action | Dismisses the modal. |
| 3 | Confirmation instruction | Instructs the user to enter DELETE. |
| 4 | Warning text | Explains that deletion is permanent and the account cannot be restored. |
| 5 | Confirmation field | Requires the exact phrase DELETE. |
| 6 | Delete account action | Submits the account deletion request. |
| 7 | Keep account action | Cancels deletion and closes the modal. |
note
The confirmation phrase DELETE must remain in English for all languages.
Workflow
- Open Manage account.
- Select Delete account.
- Display the Delete account modal.
- Require the exact phrase
DELETE. - Enable Delete account after a valid match.
- Submit the deletion request.
- Show success or error state.
Validations
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Confirmation field is empty | Keep delete action unavailable | state = invalid |
Confirmation text does not match DELETE | Display phrase mismatch error | error = invalid_confirmation_text |
Confirmation text matches DELETE exactly | Enable delete action | state = valid |
| Delete request succeeds | Complete account deletion | state = deleted |
| Delete request fails | Display error state | state = error |
Actions
| Scenario | App Behavior | SDK Output |
|---|---|---|
| Delete account selected | Open confirmation modal | PUT /api/v3/account/delete/phrase |
| Close selected | Close modal without deletion | state = dismissed |
| Keep account selected | Cancel deletion | state = cancelled |
| Confirmation text entered | Update confirmation state | confirmation = updated |
| Delete account action selected | Submit deletion request | POST /api/v3/account/delete/phrase |
| Delete request succeeds | Delete account data | state = deleted |
| Delete request fails | Preserve modal state | state = error |
Endpoint Resources
Delete Data by Phrase
PUT
v3/account/delete/phrase
Returns the delete account confirmation screen that requires phrase confirmation.
Delete Data by Phrase
POST
v3/account/delete/phrase
Deletes the authenticated user account after valid phrase confirmation.
