Remove Bot from Chat
ethora-bot-instance-leave-chatRemove a bot instance from a chat room by providing its ID and the room JID. Use this to revoke a bot's access or end its participation in a specific conversation.
Instructions
Remove a BotInstance from a chat room (POST /v2/agents/:idOrAddress/bot-instances/:botInstanceId/leave-chat). The inverse of ethora-agent-invite-to-chat.
Requires: a bot instance id from ethora-bot-instances-list (instances are created by ethora-agent-invite-to-chat).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | No | Alias for `agentIdOrAddress` - either name is accepted, pass whichever you have. | |
| chatJid | Yes | Fully-qualified room JID to leave. | |
| botInstanceId | Yes | ||
| agentIdOrAddress | No |