stream-cli

stream-cli chat promote-moderators

Promote users to channel moderator role

stream-cli chat promote-moderators --type [channel-type] --id [channel-id] [user-id-1] [user-id-2] ... [flags]

Examples

# Promote 4 users to moderator
$ stream-cli chat promote-moderators --type messaging --id red-team joe mike jane jill

Options

  -h, --help          help for promote-moderators
  -i, --id string     [required] Channel id
  -t, --type string   [required] Channel type such as 'messaging' or 'livestream'

Options inherited from parent commands

      --app string      [optional] Application name to use as it's defined in the configuration file
      --config string   [optional] Explicit config file path

SEE ALSO