> For the complete documentation index, see [llms.txt](https://docs.botwiz.dev/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.botwiz.dev/docs/blocks/actions/role-actions/edit-a-role.md).

# Edit a Role

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

## General

#### Role Type

Use a Role that already exist in a guild or provide an id.

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

#### Role Name

The name of the role.

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

#### Role color & Role Hoist

The role color & if role is shown in guild user list.

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

Position

The position in guild role hierarchy.

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

#### Mentionable

If the role can be mentioned by users within the guild

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

Permissions & Reasoning

Select permissions the role will receive and the reasoning of why this role was edited.

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


---

# 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 dynamically by asking a question.

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

```
GET https://docs.botwiz.dev/docs/blocks/actions/role-actions/edit-a-role.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.
