Search + K

Command Palette

Search for a command to run...

Sign In

conversations_kick

POST /conversations.kick
Copy endpoint
https://slack.com/api

Removes a user from a conversation.

Parameters

header Header Parameters

Name Type
token

Authentication token. Requires scope: conversations:write

string

Request Body

application/x-www-form-urlencoded
{ channel?: string;user?: string; }

Responses

200 application/json

Typical success response

{ ok: DefsOkTrue
type DefsOkTrue = true
; }
default application/json

Typical error response when you attempt to kick yourself from a channel

{
callstack?: string;
error: "method_not_supported_for_channel_type" | "missing_scope" | "channel_not_found" | "user_not_found" | "cant_kick_self" | "not_in_channel" | "cant_kick_from_general" | "restricted_action" | "not_authed" | "invalid_auth" | "account_inactive" | "user_is_bot" | "user_is_restricted" | "invalid_arg_name" | "invalid_array_arg" | "invalid_charset" | "invalid_form_data" | "invalid_post_type" | "missing_post_type" | "invalid_json" | "json_not_object" | "request_timeout" | "upgrade_required";
needed?: string;
ok: DefsOkFalse
type DefsOkFalse = false
;
provided?: string;
}