DELETE/bots/{botId}/channels/{channelId}

Leaves a message room with a specified bot included.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

bot.message
bot

HTTP Request

DELETEhttps://www.worksapis.com/v1.0/bots/{botId}/channels/{channelId}

Path Parameters

ParameterTypeDescription
botId integer 

Bot ID


required
example : 2000001
format : int64 
channelId string 

Message room ID

Note

  • Select Channel ID from the drawer menu in a message room to view the channelId.

required
example : 12345a12-b12c-12d3-e123fghijkl 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 204

No Content