title: Edit Channel Permissions category: Channel
editChannelPermissions
$client->channel->editChannelPermissions($parameters);
Edit the channel permission overwrites 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 |
allow | integer | false | null |
deny | integer | false | null |
type | string | false | null |
Returns a 204 empty response on success.