Creates or updates permission overrides for a role or user in the channel. Allows fine-grained control over who can view, send messages, or manage the channel.
curl --request PUT \
--url https://api.fluxer.app/v1/channels/{channel_id}/permissions/{overwrite_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"type": 0,
"allow": "<string>",
"deny": "<string>"
}
'{
"code": "ACCESS_DENIED",
"message": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The ID of the channel
The overwrite id
No Content
curl --request PUT \
--url https://api.fluxer.app/v1/channels/{channel_id}/permissions/{overwrite_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"type": 0,
"allow": "<string>",
"deny": "<string>"
}
'{
"code": "ACCESS_DENIED",
"message": "<string>",
"errors": [
{
"path": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}