> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack: Remove User from Channel

Remove a user from a Slack channel via native OAuth integration. The user will no longer see the channel unless re-invited. Ideal for: access control, offboarding, automated channel management.

![Slack: Remove User from Channel logo](https://ai-icon.b3.fun/logo/slack)
Catalog action Integrations slack

Remove a user from a Slack channel via native OAuth integration. The user will no longer see the channel unless re-invited. Ideal for: access control, offboarding, automated channel management.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `slack-kick-user` |
| Category | Integrations |
| Connector | `slack` |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `slack`, `integration`, `write`, `chat` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `channel` | `string` | Yes | Channel ID to remove the user from |
| `user` | `string` | Yes | User ID to remove from the channel |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `success` | `boolean` | Yes | - |
| `data` | `object` | No | - |

## Examples

**Workflow node**

```json
{
  "type": "slack-kick-user",
  "payload": {
    "channel": "example-channel",
    "user": "example-user"
  },
  "children": [],
  "connector": {
    "type": "slack",
    "id": "conn_slack"
  }
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/slack-kick-user/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "channel": "example-channel",
    "user": "example-user"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.