actionxm user-profiles
View and manage user profiles. Alias: actionxm profile.
actionxm user-profiles view
View a user profile. Defaults to your own profile. Admins can view other users' profiles.
bash
actionxm user-profiles view [user-id]Arguments:
| Argument | Description |
|---|---|
[user-id] | Optional. UUID of the user to view (admins only). Omit to view your own profile. |
Example — own profile:
bash
$ actionxm user-profiles view
Name: Alice Johnson
Email: alice@acme.com
Role: admin
ID: a1b2c3d4-...Example — another user's profile (admins only):
bash
$ actionxm user-profiles view e5f6g7h8-...
Name: Bob Smith
Email: bob@acme.com
Role: member
ID: e5f6g7h8-...Exit codes:
0— Profile displayed successfully1— Not authenticated, user not found, or API error
actionxm user-profiles edit
Edit a user's role. Only admins can change roles.
bash
actionxm user-profiles edit <user-id> --role <role>Arguments:
| Argument | Description |
|---|---|
<user-id> | Required. UUID of the user to edit |
Options:
| Flag | Description |
|---|---|
--role <role> | Required. New role: admin, member, manager, or agent |
Restrictions:
- You cannot change your own role
- Role must be one of:
admin,member,manager,agent
Example:
bash
$ actionxm user-profiles edit e5f6g7h8-... --role manager
✓ Profile updated: Bob Smith
Role: managerExit codes:
0— Profile updated successfully1— Validation error, insufficient permissions, or API error