Bot

Leave channels - When leaving a specific channel

Changed on

Leave channels

Makes a bot leave a specific channel

https://sendbird.com/docs/chat/platform-api/v3/bot/managing-a-bot/leave-channels#1-leave-channels

delete/v3/bots/{bot_userid}/channels/{channel_url}

Request

  • Base URL
    https://api-APP_ID.sendbird.com
  • Auth
    none declared

Path parameters

channel_urlstring required
bot_useridstring required

(Required)

Headers

api-tokenstring
Example:{{API_TOKEN}}

Response

Successful response

EmptyObjectResponse required

Changes

    • warning

      deleted the header request parameter Api-Token

    • info

      api operation id leaveChannelsByUrl removed and replaced with leaveAGroupChannel

    • info

      added the new optional header request parameter api-token

    • info

      the header request parameter Api-Token became optional