shutdownGuild abstract method

  1. @POST.new('/admin/guilds/shutdown')
Future<SuccessResponse> shutdownGuild({
  1. @Body.new() required ShutdownGuildRequest body,
})

Shutdown guild.

Shuts down and unloads a guild from the gateway. Guild data remains in database. Used for emergency resource cleanup. Logged to audit log. Requires GUILD_SHUTDOWN permission.

body - Name not received - field will be skipped.

Implementation

@POST('/admin/guilds/shutdown')
Future<SuccessResponse> shutdownGuild({
  @Body() required ShutdownGuildRequest body,
});