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.
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
json{ "type": "slack-kick-user", "payload": { "channel": "example-channel", "user": "example-user" }, "children": [], "connector": { "type": "slack", "id": "conn_slack" }}
bashcurl -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" }}'
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.
