# User Account Management

### Deactivating and Reactivating Users

As an admin, you can temporarily disable a user's access to Blockbrain without permanently deleting their account. This is useful in situations such as when an employee leaves the company but you want to preserve their account data.

**How to Deactivate a User**

1. Navigate to the Users section in the admin panel.
2. Locate the user you want to deactivate.
3. In the Active column, toggle the switch off for that user.
4. A confirmation dialog will appear, warning that the user will lose access to the platform after deactivation.
5. Click Deactivate to confirm, or Cancel.

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

**What Happens When a User is Deactivated**

* The user's Status changes from *Active* to *Inactive*.
* The user will no longer be able to log in to the platform.
* The account and all associated data are preserved and can be restored at any time.

***

#### Editing a User's Role

As an admin, you can change a user's role by clicking the pencil (edit) icon in their row. A user's role determines what they can access and manage within the platform.

**How to Edit a Role**

1. Navigate to the Users section in the admin panel.
2. Locate the user whose role you want to change.
3. Click the pencil icon on the right side of their row.
4. Select the desired role from the list.
5. Save your changes.

**Available Roles**

| Role                   | Description                                                |
| ---------------------- | ---------------------------------------------------------- |
| **Admin**              | Can manage all user roles and access for the organization. |
| **Builder**            | Can build and manage all bots for the organization.        |
| **Builder (External)** | Can build and manage their own bots for the organization.  |
| **Pro User**           | Can build and manage their own bots.                       |
| **User**               | Can use knowledge bots that are provided.                  |


---

# 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.en.theblockbrain.ai/for-admins/user-account-management.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.
