API v9InterfacesRESTPutAPIChannelPermissionJSONBodyVersion: 0.37.81On this pageRESTPutAPIChannelPermissionJSONBody https://discord.com/developers/docs/resources/channel#edit-channel-permissionsHierarchyRESTPutAPIChannelPermissionJSONBodyAPIChannelPatchOverwriteAPIGuildCreateOverwriteIndex PropertiesallowdenytypeProperties optionalallowallow?: null | stringThe bitwise value of all allowed permissionsSee https://en.wikipedia.org/wiki/Bit_field@default“0”optionaldenydeny?: null | stringThe bitwise value of all disallowed permissionsSee https://en.wikipedia.org/wiki/Bit_field@default“0”typetype: OverwriteType0 for a role or 1 for a member
https://discord.com/developers/docs/resources/channel#edit-channel-permissions