Update a role
PATCH/api/v1/guilds/:guildId/roles/:roleId
Updates the vote weight and the EasyPoll permissions of a role. Fields that are not sent stay unchanged.
Required permission: MANAGE_GUILD_ROLES
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
Returns the updated role
Bad Request
Unauthorized
Forbidden
Not Found
Too Many Requests