Skip to main content

mr user

List, inspect, create, update, and delete user accounts. These commands target the admin user-management API and require an administrator identity. When the server runs without auth every request is an implicit admin, so they work there too.

Usage​

mr user

Flags​

This command has no local flags.

Inherited global flags​

FlagTypeDefaultDescription
--jsonboolfalseOutput raw JSON
--no-headerboolfalseOmit table headers
--pageint1Page number for list commands (default page size: 50)
--quietboolfalseOnly output IDs
--serverstringhttp://localhost:8181mahresources server URL (env: MAHRESOURCES_URL)

Exit Codes​

0 success; 1 error (not authenticated, insufficient role, validation error, or user not found)