Skip to main content
A user is a member of your NeetoAuth workspace. For fields and response details, see the API reference. Samples on this page use --json, because pretty table output depends on your terminal width.

List users

This command shows active members of your workspace. Use it when you want to see who already has access before inviting or removing someone.
Sample output (--json)
Deactivated members are left out. role is the organization-level role, either owner or non_owner; product roles are not included in this listing.

Invite a user

This command invites someone to your workspace and emails them an invitation. Use it when onboarding a colleague, optionally granting them roles in specific neeto products at the same time.
--role is the organization role and must be owner or non_owner. --app takes a name:role pair and is repeatable, so pass it once per product. Run neetoauth products list first to see which products and roles exist in the workspace. If --first-name or --last-name is omitted, the server stores -.
Sample output (--json)
The apps array reports the product grants the server resolved, which is how you confirm a --app pair was accepted.

Invite from a file

--json-file reads the whole payload from disk, which is useful when the product grants are long or generated by a script. Flags passed on the command line override values in the file.
The file holds the user object, either bare or wrapped in a user key:

Remove a user

This command removes a member from your workspace. Use it when someone has left or should no longer have access.
Required arguments:
  • <email> - the exact email address of an active member
Sample output
Deactivating a member also ends their sessions across every neeto product. It is reversible only through the NeetoAuth admin UI. The command fails if the address does not match an active member, or if removing them would leave the workspace without an owner.