deleteGuildRole abstract method
- @DELETE.new('/guilds/{guild_id}/roles/{role_id}')
- @Path.new('guild_id') required SnowflakeType guildId,
- @Path.new('role_id') required SnowflakeType roleId,
Delete guild role.
Delete guild role. Requires manage_roles permission. Permanently removes the role from the guild.
guildId - The ID of the guild.
roleId - The ID of the role.
Implementation
@DELETE('/guilds/{guild_id}/roles/{role_id}')
Future<void> deleteGuildRole({
@Path('guild_id') required SnowflakeType guildId,
@Path('role_id') required SnowflakeType roleId,
});