Detach a channel
detach_channelDetach a channel from an agent, ending the binding attach_channel made. The channel itself stays in the organization for other agents. The agent stops receiving the channel's events, which is the intended outcome. Detaching a channel that is not attached changes nothing. Slack detaches by removing the agent's Slack app, so for Slack this gives the step to take and detaches nothing. Requires connecting a Valet account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. The agent's name. | |
| channel | Yes | Required. The name the channel is attached under, from list_channels. | |
| org_name | No | The Valet organization the agent belongs to. Omit to use the organization the account joined first. |