Skip to main content
PUT
/
channels
/
{channel_id}
/
permissions
/
{overwrite_id}
cURL
curl --request PUT \
  --url https://discord.com/api/v10/channels/{channel_id}/permissions/{overwrite_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "<unknown>",
  "allow": 123,
  "deny": 123
}
'
{
  "code": 123,
  "message": "<string>",
  "retry_after": 123,
  "global": true
}

Authorizations

Authorization
string
header
required

Discord bot token

Path Parameters

channel_id
string<snowflake>
required
overwrite_id
string<snowflake>
required

Body

application/json
type
allow
integer | null
deny
integer | null

Response

204 response for set_channel_permission_overwrite