> ## Documentation Index
> Fetch the complete documentation index at: https://authplugin.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Profile

> Lets a signed-in visitor delete their own profile by typing CONFIRM in a popup, with personal data removal.

A button that lets a signed-in visitor delete their own profile. Use it on a profile or settings page. Many privacy rules, such as GDPR, expect people to be able to do this without contacting you.

## How it works

1. The visitor clicks **Delete Profile**. A popup opens in the middle of the screen, above the rest of the page, with a warning. Clicking the dark area or pressing Escape closes it.
2. The visitor types the confirm word (**CONFIRM** by default) in the field. The red **Yes, delete my profile** button stays locked until the word matches. Capital letters do not matter.
3. The visitor clicks the red button. The profile is deleted, the visitor is signed out and taken to your **sign-in page**.
4. No password is asked for, so this works the same for people who signed up with a password, Google, a magic link or a code.

## Properties

| Property | Type | Description | Default |
| - | - | - | - |
| **Redirect Path** | String | Page to open after the profile is deleted. Leave empty to open your sign-in page. | Empty (sign-in page) |
| **Button Label** | String | Label of the first button | `Delete Profile` |
| **Hide Logged Out** | Boolean | Hide the button for visitors who are not signed in | `Yes` |
| **Show Confirm Box** | Boolean | Show the popup's content in the Framer canvas so you can style it | `No` |
| **Warning Title / Warning Text** | String | Text of the confirmation box | See the component |
| **Confirm Word** | String | The word the visitor must type. Case does not matter. | `CONFIRM` |
| **Input Label** | String | Text above the field. `{word}` is replaced by the Confirm Word. | `Type {word} to confirm` |
| **Confirm Label / Cancel Label** | String | Labels of the two buttons in the box | `Yes, delete my profile` / `Cancel` |
| **Label Style** | Object | Show or hide the text above the field, its font and color | Shown, grey |
| **Input Style** | Object | Font, text and placeholder color, background, padding, border, radius and shadow of the field | Soft grey field |
| **Focus Style** | Object | Border color, shadow and scale of the field while typing | Green border |
| **Button Style** | Object | Font, colors, radius, padding, border and shadow of the buttons | Red button |
| **Error Style** | Object | Color and font of the error message | Red |

## Features

* A confirmation popup in the middle of the screen, so a mis-click cannot delete anything
* The red button stays locked until the visitor types the confirm word
* Works the same for every sign-in method (password, Google, magic link, code)
* Signs the visitor out and opens your sign-in page, or any page you choose
* Hidden from signed-out visitors by default
* Style the field, label, focus and error text like the other forms, and set your own warning text

## What is deleted

* The profile can no longer sign in, and every active session ends.
* Personal data is removed: the name is replaced with "Deleted user", the email is replaced with a placeholder, and the password, profile picture, custom fields and billing link are cleared.
* Only the account ID, the workspace, the access grants and labels, and the dates are kept so your records stay consistent.
* The same email address can sign up again later as a new account.
* It cannot be undone from the panel.

## Deactivated visitors

If you deactivate a visitor in the plugin, they can still delete their own profile while they are still signed in. After their next page load they are signed out and cannot reach the button, so they would need you to delete the identity from the **Identities** page.

## Keep in mind

Typing a word is a safeguard against a mis-click, not a security check. Anyone using a browser where the visitor is still signed in can type it. If that matters for your site, keep the button on a page that signed-out visitors cannot open, and consider asking visitors to sign out on shared computers.

## Usage

Place it on a profile or settings page that only signed-in visitors can open, for example next to the [Profile Form](https://authplugin.com/docs/components/profile-form.md). Add the page as a protected page in the plugin so signed-out visitors cannot reach it.

> [!NOTE]
>
> Deleting a profile here is different from you deleting an identity in the plugin's **Identities** page. When you delete an identity, the person's data is kept so you can still see who was removed.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.