POST
/conversations.kickRemove a user from a conversation
Removes a user from an existing conversation. Provide the conversation in channel and the user to remove in user, using an authentication token with the conversations:write scope when authorization is required.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
tokenstringoptional
Authentication token for the request; it must provide the `conversations:write` scope.
Optional form-encoded details identifying the conversation and user.
channelstringoptional
ID of conversation to remove user from.
userstringoptional
User ID to be removed.
200Returns a success object with `ok` set to true.
okbooleanrequired
defaultTypical error response when you attempt to kick yourself from a channel
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
neededstringoptional
okbooleanrequired
providedstringoptional
Error handling
channel must identify an existing conversation and user must identify the user to remove. The token must provide the conversations:write scope when supplied for authentication.