---
title: "Removes a user from a Slack channel."
method: POST
path: "/removeUserFromChannel"
tags: ["channel", "user"]
---

# Removes a user from a Slack channel.

`POST /removeUserFromChannel`

Removes a specified user from a given Slack channel.

## Request body

- object
  - `body` object — Body of the removeUserFromChannel sls call
    - `arguments` object, required
      - `channelId` string, required — The ID of the channel to remove the user from. Channel IDs start with 'C'.
      - `userId` string, required — The ID of the user to remove. User IDs start with 'U'.

## Response `200`

Successful response

- object
  - `ok` boolean, required — Indicates if the request was successful.

## Other responses

- `400` — Bad Request - Invalid parameters
- `500` — Internal Server Error

---

[API](https://skmtc.net/microfox-ai/apis/slack-d.md) · [All operations](https://skmtc.net/microfox-ai/apis/slack-d/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/microfox-ai/slack-d/versions/cd0edf0c2cdf/schema)
