leave_channel
Removes the authenticated user from a specified Mattermost channel. Cannot leave default channels; public channels can be rejoined.
Instructions
Leave a channel.
Removes the authenticated user from the channel. Cannot leave Town Square or other default channels. Can rejoin public channels later with join_channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | 26-character channel identifier (e.g., 'o5w8h47pdfbzjc4d8w7dhnhren') |