title: Delete Channel Permission category: Channel
deleteChannelPermission
$client->channel->deleteChannelPermission($parameters);
Delete a channel permission overwrite for a user or role in a channel. Only usable for guild channels. Requires the 'MANAGE_ROLES' permission. For more information about permissions, see permissions
Name | Type | Required | Default |
---|---|---|---|
channel.id | snowflake | true | null |
overwrite.id | string | true | null |
Returns a 204 empty response on success.