Skip to main content
Module

x/harmony/src/rest/endpoints.ts>RESTEndpoints#deleteChannelPermission

An easy to use Discord API Library for Deno.
Go to Latest
method RESTEndpoints.prototype.deleteChannelPermission
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/src/rest/endpoints.ts";

Delete a channel permission overwrite for a user or role in a channel. Only usable for guild channels. Requires the MANAGE_ROLES permission. Returns a 204 empty response on success. For more information about permissions, see permissions

Parameters

channelId: string
overwriteId: string

Returns

Promise<void>