# Deleting PII data of a deactivated user

{% hint style="info" %}
Available from version 5.7.0
{% endhint %}

Admins (and managers) can anonymize deactivated users and completely delete their PII data. This is useful when an employee is leaving the company, and the company is required by regulation not to retain the employee's PII data.

The anonymization of a user is only applicable to deactivated users, and once performed, it is irreversible, and it is no longer possible to reactivate the user.

The user's usage data remains and can appear in some reports.

Only Admins can anonymize other Admins.

### Anonymize a deactivated user

1. Sign in to the Tabnine console as an Admin.
2. Go to the **User Management** page.
3. Select the deactivated user whose PII data you want to delete and click on the three-dot menu on the right.

<figure><img src="/files/bg5nDPm0oVAIn22YSLX4" alt="" width="563"><figcaption></figcaption></figure>

4. Click **Anonymize.**

<figure><img src="/files/ZQZabI302oRC3Dd4n5ex" alt="" width="563"><figcaption></figcaption></figure>

5. In the following popup, confirm and process by clicking **Anonymize**.

<figure><img src="/files/I8C0XdPC2rXx0mmm2hCI" alt=""><figcaption></figcaption></figure>

The user's PII data has been deleted. The user now appears as an anonymous user and cannot be reactivated.

<figure><img src="/files/bPZfyFauUp10brmRwZEU" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tabnine.com/main/administering-tabnine/managing-your-team/user-management/deleting-pii-data-of-a-deactivated-user.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
