Conversations

Conversations Leave

POST
/conversations.leave

Leaves a conversation.

Authorization

slackAuth channels:write, groups:write, im:write, mpim:write
AuthorizationBearer <token>

In: header

Scope: channels:write, groups:write, im:write, mpim:write

Header Parameters

token?string

Authentication token. Requires scope: conversations:write

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Request Body

application/x-www-form-urlencoded

channel?string

Conversation to leave

Response Body

application/json

application/json

curl -X POST "https://example.com/conversations.leave" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d ''
{  "not_in_channel": true,  "ok": "True"}