Skip to main content

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:

#ElementDescription
1Modal titleDisplays Delete account.
2Close actionDismisses the modal.
3Confirmation instructionInstructs the user to enter DELETE.
4Warning textExplains that deletion is permanent and the account cannot be restored.
5Confirmation fieldRequires the exact phrase DELETE.
6Delete account actionSubmits the account deletion request.
7Keep account actionCancels deletion and closes the modal.
note

The confirmation phrase DELETE must remain in English for all languages.


Workflow

  1. Open Manage account.
  2. Select Delete account.
  3. Display the Delete account modal.
  4. Require the exact phrase DELETE.
  5. Enable Delete account after a valid match.
  6. Submit the deletion request.
  7. Show success or error state.

Validations

ScenarioApp BehaviorSDK Output
Confirmation field is emptyKeep delete action unavailablestate = invalid
Confirmation text does not match DELETEDisplay phrase mismatch errorerror = invalid_confirmation_text
Confirmation text matches DELETE exactlyEnable delete actionstate = valid
Delete request succeedsComplete account deletionstate = deleted
Delete request failsDisplay error statestate = error

Actions

ScenarioApp BehaviorSDK Output
Delete account selectedOpen confirmation modalPUT /api/v3/account/delete/phrase
Close selectedClose modal without deletionstate = dismissed
Keep account selectedCancel deletionstate = cancelled
Confirmation text enteredUpdate confirmation stateconfirmation = updated
Delete account action selectedSubmit deletion requestPOST /api/v3/account/delete/phrase
Delete request succeedsDelete account datastate = deleted
Delete request failsPreserve modal statestate = 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.