
Slack Leave
CertifiedLeave a Slack channel
Slack Leave
Certified
Leave a Slack channel
Removes the caller from the specified channel. Public channels can be rejoined; private channels may need an invite.
yaml
type: io.kestra.plugin.slack.app.conversations.LeaveExamples
Leave a channel
yaml
id: slack_leave_channel
namespace: company.team
tasks:
- id: leave_channel
type: io.kestra.plugin.slack.app.conversations.Leave
token: "{{ secret('SLACK_TOKEN') }}"
channel: "C1234567890"
Properties
channel *Requiredstring
Channel ID
Channel to leave; provide the Slack channel ID. To get the channel ID, right click on the channel name in Slack and select 'Copy Link'. The ID is the last part of the URL.
token *Requiredstring
Slack token
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.