OptionalcolourColour of the role, or null if no colour is set.
OptionalhoistWhether the role is displayed separately in the member list.
OptionalnameName of the role.
OptionalpermissionsPermissions to set for the role. Format: { a: allow, d: deny }
OptionalrankRank of the role, used for ordering.
OptionalremoveFields to remove from the role. Each key corresponds to a field in the Role type.
Represents a role that can be edited in a server.