Upsert a user
This command inserts a new or updates an existing user. Stream Users require only an id to be created. Any user present in the payload will have its data replaced with the new version.
stream-cli chat upsert-user --properties [raw-json] [flags]
# Create a new user with id 'my-user-1'
$ stream-cli chat upsert-user --properties "{\"id\":\"my-user-1\"}"
Check the Go SDK's 'User' struct for the properties that you can use here.
-h, --help help for upsert-user
-p, --properties string [required] Raw JSON properties of the user
--app string [optional] Application name to use as it's defined in the configuration file
--config string [optional] Explicit config file path