CommunityRoleEditRequest
CommunityRoleEditRequest =
object
Request object for modifying an existing role's properties.
Properties
channelPermission?
optionalchannelPermission:ChannelPermission
The new default channel permissions. Optional. See ChannelPermission for available flags.
colorHex
colorHex:
string
The new hex color code for the role. Required.
communityPermission?
optionalcommunityPermission:CommunityPermission
The new community-level permissions. Optional. See CommunityPermission for available flags.
id
The unique identifier of the role to edit. Required.
isMentionable
isMentionable:
boolean
Whether the role can be mentioned in messages. Required.
name
name:
string
The new display name for the role. Required. Note: The @everyone role's name cannot be changed.