users
Manage users and invitations in your CARTO organization.
User management commands require admin or superadmin permissions. Regular users may not have access to view all organization users; invitation commands require permission to invite users to the organization.
Identifying a user
Commands that act on a specific user take --user-id for a user ID or --user-email for an email address. SSO user IDs often contain an @, so say which kind you are passing.
carto users get --user-email jane@carto.com
carto users get --user-id "samlp|my-sso|jane@carto.com"Quote values containing | so your shell does not read it as a pipe.
carto users list
List every user in the organization. The command returns the full roster in one call; filter the output when you need a subset.
carto users list
carto users list --json | jq '[.[] | select(.role == "Builder")]'
carto users list --json | jq '[.[] | select(.email | contains("john"))]'carto users get
Get detailed information for a user. See Identifying a user.
Options:
--user-id <id>
Look the user up by user ID.
--user-email <email>
Look the user up by email address.
Output includes the user profile, roles, organization, identities, and groups.
carto users invite <email[,email...]> [email...]
Invite one or more users to the organization. Both comma-separated and multi-argument forms are accepted.
Options:
--role <Builder|Viewer|Guest>
Role to assign. Default: Viewer.
Available roles:
Builder — full access to create and edit maps, workflows, and connections.
Viewer — read-only access to view maps and data.
Guest — limited access, typically for external collaborators.
carto users invitations
List pending invitations.
carto users resendInvitation <invitation-id>
Resend a pending invitation.
carto users cancelInvitation <invitation-id>
Cancel a pending invitation.
carto users delete
Remove a user from the organization and transfer everything they own to another user. Requires Admin permissions. Both users must be identified, the one being removed and the one receiving their content. See Identifying a user.
Options:
--user-id <id>
User to remove, by user ID.
--user-email <email>
User to remove, by email address.
--receiver-id <id>
User who receives their content, by user ID.
--receiver-email <email>
User who receives their content, by email address.
What transfers. Maps, workflows, connections, API access tokens, assets, named sources, hosted apps, folders, and shortcuts all move to the receiving user, along with any SPA OAuth applications.
What does not. The removed user's machine-to-machine OAuth applications are deleted rather than transferred, so any integration authenticating as that user stops working. Their recent activity, job history, group memberships, and per-user quota settings are also discarded.
The content transfer runs asynchronously, so the receiving user's maps and workflows may take a moment to appear after the command returns.
Last updated
Was this helpful?
