Users
Profile, workspaces, roles and removal.
Raw Markdown for agents: users.md. MCP: read_docs("users").
Users are the people of a workspace (tenant). Each has a role (admin or member) in every workspace they belong to; the role limits tenant-wide operations and API key scopes.
Operations: users.me reads your own profile, including
personal_tenant_id, active_tenant_id and tenants (every workspace you
belong to, with your role and seat state; your role lives there, not on the
profile), and users.me.update changes your
name, locale, time zone (IANA name, used for times in emails) or the workspace
the app opens (active_tenant_id, null = personal). users.list,
users.get, users.update_role and users.remove manage the other users of
a workspace; users.removal_preview shows what a removal would do. Name the
workspace with tenant_id; without it they act on your personal workspace.
users.me.claim_registration_measurement is called only by the app in the
first session after sign-up and is not visible to agents.
Rules:
- Listing, role changes and removal need an admin of that workspace.
- In an organization,
users.removeremoves the membership; the account stays (outcomeremoved): their Spaces in the organization pass totransfer_to_user_id(default: the first admin), and their shares, automations, runs and import sources there are handed over or stopped (counts).users.update_rolechanges the organization role. Both go through the identity provider (see read_docs("organization")). - Elsewhere, removal archives the user (
outcomearchived): their Spaces pass totransfer_to_user_id(default: you), renamed "<name> (<email local part>)" when the name is taken; their connections are disconnected; their automations are paused and re-pointed; their runs are cancelled; their API keys are revoked. Archived users are not listed and cannot sign in. - You cannot remove yourself or the last admin (
conflictwithdetails.reasonself_removalorlast_admin, ororganization_last_adminin an organization). - Access to Spaces is granted per Space (see read_docs("spaces")), not here.