signaloid-cli users update
Update your profile fields and editor preferences.
Synopsis
signaloid-cli users update [options]
Options
| Option | Description |
|---|---|
--pref <key=value> | Set a preference. Repeatable. |
--remove <field> | Remove a preference field. Repeatable. Allowed values: Editor_Execution_DataSources, Editor_Execution_Core |
--role <role> | Set your role (conflicts with --clear-role) |
--industry <industry> | Set your industry (conflicts with --clear-industry) |
--clear-role | Clear your role |
--clear-industry | Clear your industry |
--payload-file <json> | JSON file with a Preferences object |
--format <type> | Output format: table or json (default: json) |
Description
The users update command modifies the mutable parts of your account, i.e., the
Role and Industry profile fields, and the Preferences map that holds your
Signaloid Cloud Developer Platform Editor settings.
Preferences are merged, not replaced. The command first reads your current
preferences, applies the values from --payload-file and then the inline
--pref flags, and sends the merged map. A preference you do not mention keeps
its current value. To delete one, name it with --remove.
If your update touches only --role or --industry, the preferences map is
left out of the request entirely and none of your editor settings are touched.
The signaloid-cli cannot update your email address, display name, and subscription tier.
Examples
Set a preference:
signaloid-cli users update --pref Editor_Theme=dark
Set multiple preferences at once:
signaloid-cli users update \
--pref Editor_Theme=dark \
--pref Editor_Layout_VariableViewer=expanded
Set your role and industry:
signaloid-cli users update --role engineering --industry automotive
Clear your role:
signaloid-cli users update --clear-role
Remove a preference field:
signaloid-cli users update --remove Editor_Execution_Core
Apply preferences from a file:
cat > prefs.json <<'EOF'
{
"Preferences": {
"Editor_Theme": "dark",
"Editor_Execution_Core": "cor_abc123"
}
}
EOF
signaloid-cli users update --payload-file prefs.json
The file may contain either a bare object of preference keys or an object with
a top-level Preferences key, as above. Both are accepted.
Notes
- At least one option must be provided.
- Changes are applied immediately.
- Use
signaloid-cli users meto verify updates to preferences. Neitherusers menor theGET /users/{id}endpoint returnsRoleorIndustry, so you cannot read these fields back after you set them. --prefvalues are parsed askey=value. A value containing=keeps everything after the first separator.
Troubleshooting
"Not authenticated" Error
Problem: Command fails with authentication error.
Solutions:
- Login first:
signaloid-cli auth login - Verify authentication:
signaloid-cli auth whoami - Check API key is valid
Update Not Reflected
Problem: Changes do not appear when running users me.
users me does not return Role or Industry. Changes to these two fields never appear in its output.
Solutions:
- Wait a few seconds and try again (API propagation delay)
- Verify the update command completed successfully
- Check for error messages in the command output
See Also
- signaloid-cli users - User management overview
- signaloid-cli users me - View user information
- signaloid-cli users customization - View account customization
- signaloid-cli auth - Authentication commands