Actions60
- User Actions
- Channel Actions
- Accept Invite
- Add Members
- Add Moderators
- Archive
- Ban User
- Create
- Delete
- Delete File
- Delete Image
- Demote Moderators
- Disable Slow Mode
- Enable Slow Mode
- Get Config
- Hide
- Invite Members
- Mark Read
- Mark Unread
- Mute
- Mute Status
- Pin
- Query Channels
- Query Members
- Reject Invite
- Remove Members
- Send Action
- Send File
- Send Image
- Show
- Stop Watching
- Truncate
- Unarchive
- Unban User
- Unmute
- Unpin
- Update
- Watch
- Message Actions
- Moderation Actions
Channel → Demote Moderators
AI-generatedSummary
Demote specified users from moderator roles within a given Stream Chat channel by channel type and ID.
Inputs
- Channel Type — Type of the channel such as "messaging" for 1-on-1 chats, "team" for group channels, or "livestream" for broadcast channels. Defaults to "messaging".
- Channel ID (required) — Unique identifier of the channel (e.g., "general", "random", "team-alpha") to target for demoting moderators.
- Members (required) — Comma-separated list of user IDs to demote from moderator status in the specified channel (e.g., "john_doe,jane_smith,admin123"). No spaces around commas.
Output shape
A single JSON object representing the updated channel state or operation result after demoting the given moderators.
Returns the raw API response from the Stream Chat server. Moderation changes may take a few seconds to propagate. Ensure the specified users are currently moderators in the specified channel for demotion to succeed.