# Deleting a user account

## Introduction

If you are a user with an [administrator or manager role](/product-documentation/users-roles-and-permissions/roles-and-permissions-summary.md), you can choose to remove another user account from your company profile.

When a user is removed, their account becomes inactive, and they can no longer log in to the dashboard. If required, a deleted user account can be [restored](/product-documentation/users-roles-and-permissions/restoring-a-deleted-user-account.md).&#x20;

## The steps

{% stepper %}
{% step %}
**Access** **the required user**

[Access the user list for your company profile](/product-documentation/users-roles-and-permissions/viewing-all-users-for-your-company-profile.md), then click the name of the user you want to remove. For example:

<div align="left"><figure><img src="/files/FEbzbYE7JF1fV8942fvh" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**Delete the user**

Click the delete icon (trash) at the top of the user profile page. For example:

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

When prompted, confirm that you want to proceed. For example:

<figure><img src="/files/D88YM3IRp0BbhhXDx0JH" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Delete the user**

The user is removed, and you're returned to the user list. Here, you'll see that this user is associated with a `restore` option, so this account can be [reactivated](/product-documentation/users-roles-and-permissions/restoring-a-deleted-user-account.md) if needed. For example:

<figure><img src="/files/42rTJcU2SUL78WddmPRf" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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://doc.wearepatchworks.com/product-documentation/users-roles-and-permissions/deleting-a-user-account.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.
