Discord icon

Discord

Interact with Discord API - users, messages, webhooks, guilds, interactions, and more

Actions193

Role → Modify

AI-generated

Summary

Updates a Discord role in a guild. Supply the guild and role IDs, then set any role fields to change; raw JSON body fields override overlapping simple fields.

Inputs

  • Authentication — Choose Bot Token (default) or OAuth2 (User Token).
  • Guild (required) — Guild snowflake ID.
  • Role (required) — Role snowflake ID.
  • Name — Role name to update.
  • Color — Role color as a decimal integer.
  • Permissions — Permission bit set as a string.
  • Raw JSON — Additional Discord role JSON body fields; values override simple fields with matching keys.
  • Request Options — Configure request batching, TLS certificate validation, HTTP proxy, or request timeout.

Output shape

Not established by the provided source pack; it contains no implementation body for the Role resource.

The source pack shows only a signature-level entry for Role, so it does not establish the request method, exact returned data, or runtime handling of omitted fields.

Links

Discussion