Sign in

Edit channel permissions

documented

Edit the permission overwrites for a user or role in a channel.

PUT /channels/{channel.id}/permissions/{overwrite.id}Channelsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://discord.com/api/v10/channels/{{$channel_id}}/permissions/{{$overwrite_id}}" \
  -X PUT \
  -H "Authorization: Bot {{DISCORD_BOT_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"type": {{$overwrite_type}}, "allow": "{{$allow}}", "deny": "{{$deny}}"}'