Update role
update_roleEdit a Discord role's name, color, hoist, mentionable flag, or permissions. Only specified fields change, and changes can be previewed with dry run.
Instructions
Edit a role's name, color, hoist, mentionable flag, or permissions. Passing preset and/or permissions replaces the role's permission set with the named bundle plus listed names. Only passed fields change. Supports dry_run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Role name or ID. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| name | No | ||
| color | No | Hex color like #00b0f4. | |
| hoist | No | ||
| mentionable | No | ||
| preset | No | ||
| permissions | No | ||
| dry_run | No |