> For the complete documentation index, see [llms.txt](https://docs.blockbrain.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blockbrain.ai/~/revisions/cIYk4huBoAvhOouMPj2d/for-admins/user-account-management.md).

# User Account Management

Learn how to manage and edit user accounts as an Admin.

### 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="https://3232460952-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIabFtGTeQzwfWCzp8vd6%2Fuploads%2FovdAD8OvB5EzL4mGwWZH%2Fimage.png?alt=media&amp;token=8cd2c137-84be-4903-9679-9faf254c1db5" 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.        |
| **Pro User** | Can build and manage their own bots.                       |
| **User**     | Can use knowledge bots that are provided.                  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.blockbrain.ai/~/revisions/cIYk4huBoAvhOouMPj2d/for-admins/user-account-management.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
