{
  "args": {
    "channel": {
      "desc": "ID of conversation to remove user from.",
      "required": true
    },
    "user": {
      "desc": "User ID to be removed.",
      "required": false
    }
  },
  "desc": "Removes a user from a conversation.",
  "errors": {
    "cant_kick_from_general": "User cannot be removed from #general.",
    "cant_kick_self": "Authenticated user can't kick themselves from a channel.",
    "channel_not_found": "Value passed for `channel` was invalid.",
    "method_not_supported_for_channel_type": "This type of conversation cannot be used with this method.",
    "not_in_channel": "User was not in the channel.",
    "not_supported": "This is not supported for this channel and user combination.",
    "restricted_action": "A team preference prevents the authenticated user from kicking.",
    "user_not_found": "Value passed for `user` was invalid."
  },
  "rate_limit": {
    "label": "Tier 3: 50+ per minute",
    "url": "https://docs.slack.dev/apis/web-api/rate-limits"
  },
  "scopes": {
    "bot": [
      {
        "name": "channels:manage",
        "url": "https://docs.slack.dev/reference/scopes/channels.manage"
      },
      {
        "name": "channels:write",
        "url": "https://docs.slack.dev/reference/scopes/channels.write"
      },
      {
        "name": "groups:write",
        "url": "https://docs.slack.dev/reference/scopes/groups.write"
      },
      {
        "name": "im:write",
        "url": "https://docs.slack.dev/reference/scopes/im.write"
      },
      {
        "name": "mpim:write",
        "url": "https://docs.slack.dev/reference/scopes/mpim.write"
      }
    ],
    "user": [
      {
        "name": "channels:write",
        "url": "https://docs.slack.dev/reference/scopes/channels.write"
      },
      {
        "name": "groups:write",
        "url": "https://docs.slack.dev/reference/scopes/groups.write"
      },
      {
        "name": "im:write",
        "url": "https://docs.slack.dev/reference/scopes/im.write"
      },
      {
        "name": "mpim:write",
        "url": "https://docs.slack.dev/reference/scopes/mpim.write"
      }
    ]
  }
}

