v2

latestOpenAPI 3.0.0AGPLv32026-07-26125148364.7 KB
Channel Permissions

Set Role Permission

Sets permissions for the specified role in this channel.

Channel must be a TextChannel.

put/channels/{target}/permissions/{role_id}

Path parameters

targetstring required
role_idstring required

Headers

X-Audit-Log-Reasonstring

Reason for action which is stored in the audit log.

Request body

Response

OR
OR
OR