Usage
Replace <CHANNEL> with the channel name (required).
Replace <ID> with the user ID or token ID when listing or managing.
Replace <NAME> with the token name. Replace <LIST> with channel names for token scope. Replace <#> with max token age in days.
Replace <ID> with the user ID or token ID when listing or managing.
Replace <NAME> with the token name. Replace <LIST> with channel names for token scope. Replace <#> with max token age in days.
Description
Manages service accounts for channel access. List service account user IDs for a channel, list tokens, and create, edit, or delete tokens with optional name, channel scope, permission level, and max age in days.Options
Option
Default
Description
--channel <CHANNEL>Channel name (required)
--list-user-idsList service account user IDs for the channel
--list-tokensList all service account tokens for the channel
--create-tokenCreate a new service account token
--edit-tokenEdit an existing token
--delete-tokenDelete a service account token
--user-id <ID>Service account user ID
--token-id <ID>Token ID (for edit/delete)
--name <NAME>Token name
--token-channels <LIST>Channels for token (for example,
channel1, channel2)--permission <LEVEL>Permission:
read, write, or manage--max-days <#>30Maximum age in days for the token
-h, --helpShow help for this command