Actions53
- Channel Actions
- Direct Message Actions
- Message Actions
- User Actions
Channel → Delete
AI-generatedSummary
Delete a Rocket.Chat channel or private group
Inputs
- channelType — Target a public channel ('channel') or private group ('group')
- specifyRoomManually — Whether to enter the room ID manually instead of selecting from a list
- roomId (required) — The ID of the channel or group to delete; required when specifyRoomManually is true or when a channel is selected from the list
Output shape
a single record (the API response)
On success the response contains the deleted channel data; on failure the node throws an error or returns an error object. Pagination is not applicable.
Examples
Example 1: Delete a public channel by selecting it from the dropdown
channelType=channel, specifyRoomManually=false, roomId=
Example 2: Delete a private group using a manually entered ID
channelType=group, specifyRoomManually=true, roomId=
Example 3: Delete a channel when only the ID is known
channelType=channel, specifyRoomManually=true, roomId=