Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#deleteInvite

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

Delete an invite. Requires the MANAGE_CHANNELS permission on the channel this invite belongs to, or MANAGE_GUILD to remove any invite across the guild. Returns an invite object on success. Fires a Invite Delete Gateway event.

Parameters

inviteCode: string

Returns

Promise<void>