Bot

Leave channels - When leaving all channels

Changed on

Leave channels

Makes a bot leave all group channels.

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

delete/v3/bots/{bot_userid}/channels

Request

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

Path parameters

bot_useridstring required

(Required)

Headers

api-tokenstring
Example:{{API_TOKEN}}

Response

Successful response

EmptyObjectResponse required

Changes

    • warning

      deleted the header request parameter Api-Token

    • warning

      deleted the query request parameter channel_url

    • info

      api operation id leaveChannels removed and replaced with leaveGroupChannels

    • info

      added the new optional header request parameter api-token

    • info

      added the media type application/json for the response with the status

    • info

      the header request parameter Api-Token became optional