# Set Role Permissions

**Introduction**&#x20;

This step allows for setting or modifying the permissions associated with a specific role in a guild.

**Configuration**

1. **Role**: Select the role for which the permissions will be set. This is a required field.
2. **Permissions**: Choose the permissions to assign to the role. Options include all permissions that are applicable at the guild level. Leaving this list empty will remove all permissions from the role.

**Usage**&#x20;

Essential for customizing the capabilities and access levels of different roles within a guild, such as defining what actions a specific role can perform or restricting certain functionalities.

**Permissions**

* While this step itself does not require specific permissions, executing it in a guild requires adequate permissions to manage roles and their permissions.


---

# 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.flexy.bot/modules/discord/steps/set-role-permissions.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.
