Skip to main content
PUT
Set permission override

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

channelId
string<uuid>
required
targetId
string<uuid>
required

Body

application/json
targetType
string
required

role or member

allowBits
integer<int64>
required
denyBits
integer<int64>
required

Response

Success

id
string<uuid>
channelId
string<uuid>
roleId
string<uuid> | null
userId
string<uuid> | null
allowBits
integer<int64>

Permission allow bitmask

denyBits
integer<int64>

Permission deny bitmask

createdAt
string<date-time>