Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#deleteGuildIntegration

An easy to use Discord API Library for Deno.
Go to Latest
method RESTEndpoints.prototype.deleteGuildIntegration
Re-export
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Delete the attached integration object for the guild. Deletes any associated webhooks and kicks the associated bot if there is one. Requires the MANAGE_GUILD permission. Returns a 204 empty response on success. Fires a Guild Integrations Update Gateway event.

Parameters

guildId: string
integrationId: string

Returns

Promise<void>