Skip to Content
MosaicMosaicDocs
Tool Reference

ManageBotChannelAccess

Grant or revoke a manageable bot's access to one channel.

Starter documentation. Features and account details may differ from this deployment.

ManageBotChannelAccess

Grant or revoke a manageable bot's access to one channel. Granting requires the current user to be a channel member. Both actions require the user to own the bot or belong to its owning team; revoking still works after the manager leaves the channel. Granting access creates that channel's webhook URL; revoking access disables posting to that channel. Use only after the user asks to change bot access.

Parameters

ParameterTypeRequiredDescription
botIdstringYesBot id from CreateBot or ListBots.
channelIdstringYesChannel id to grant or revoke access to.
action"grant" | "revoke"YesChannel-access change to apply to a bot.

On this page