6  Users and API access

Sophea Portal owns people, invitations, Teams, and workspace access. Nous receives the resulting workspace membership and role so it can authorize chat and administration. Use this page to verify that Portal access has reached Nous and to manage personal tokens and service-account API keys.

For instructions on inviting people, assigning direct workspace access, or granting access through a Team, see Organizations and workspace access.

6.1 Verify synchronized users

Open Settings and select Users, or navigate to /app/admin/users.

The user table shows the people currently known to this Nous workspace, including their email, synchronized role, and account state. Treat it as a verification surface, not the source of truth for access.

Important

In Portal-managed deployments, Nous does not send workspace invitations, approve join requests, cancel invitations, or own Team membership. Perform those operations in Portal: on People & Teams inside the Workspace when the Organization has one Workspace, otherwise on the Workspace People page or the Organization People & Teams page.

If Portal access changed but Nous still shows the old state:

  1. Confirm the person still has an active access source in Portal.
  2. Check direct grants and every Team the person belongs to. Removing one source does not remove access when another source remains.
  3. If Portal gives the person access but Nous shows them as Inactive, choose Activate User in their row. Until then they cannot sign in to the workspace.
  4. If Nous does not show the person at all, or they still cannot open the workspace, report the workspace name, user email, expected role, and the access source shown in Portal to Sophea support.

Do not repeatedly invite the person or create a second account. Invitations are bound to the invited email address, and duplicate identities make access harder to audit.

6.2 Delete a synchronized user

Nous offers Deactivate User and Delete User only after the person’s workspace access is removed in Portal. Until then, the row shows Manage access in Portal instead. Once access is removed, deactivate the account if it is still active. For an inactive account in Users, choose Delete User and review the warning before confirming. Deleting a Nous account is a permanent cleanup action. Once a deletion has started, giving the person access again in Portal does not cancel it. Choose Delete User again to finish it. Deletion removes the account and session history. Uploads only that user can access are deleted. Files shared through a project remain available only to people who still have access. Projects the person shared stay, and show as created by a former member. Deletion cannot be undone.

Deleting a person also removes what their own sign-in granted in search:

  • Private connections they signed in with are deleted. Nous asks you to try again in a few minutes while search updates; choose Delete User again until it completes.
  • A workspace connection that still uses their sign-in blocks the deletion. Delete it, or reconnect it in Portal with another account, then try again.
  • Access that the source system itself grants to their email, such as SharePoint or Google Drive permissions a permission-synced connection reads, is not personal and stays.

After the deletion, no Portal connection can sign in with that email’s account again, even for someone who later joins with the same email. That person can still add their own personal connection from Nous.

6.3 Account deletion requests

A person can ask to delete their Sophea account in two ways, depending on whether automatic deletion is turned on for your environment. Ask Sophea support if you are not sure which one applies to you. In both, within 30 days of the request their access is closed and their account is deleted, with their name, email address and personal Nous data. Content they shared in your Workspace stays and shows them as a former member.

6.3.1 When support handles the request

Where automatic deletion is not turned on, people ask Sophea support to delete their account, from Settings > Delete account in the Sophea Nous mobile app or by email to support@sophea.ai. Nothing is deleted when they ask. A request sent from the app signs them out of the app on that device once it is confirmed.

When a request concerns a member of your Workspace, Sophea support tells you. You are informed, not asked: the deletion goes ahead. Sophea removes the person’s Workspace access in Portal and turns off their sign-in at once, so they cannot sign in again. In the last week before the 30 days end (never before day 23), Sophea deletes their Nous account as described in Delete a synchronized user, so the same rules apply: a Workspace connection that still uses their sign-in blocks the deletion until it is deleted or reconnected with another account. Sophea then deletes their sign-in. If the person asks support to keep their account within 3 weeks of the request, their access is restored. A Portal session that is already open can stay signed in for up to 7 days, but no longer reaches your Workspace.

6.3.2 When automatic deletion is turned on

When automatic deletion is turned on for your environment, a person asks from Delete account in Portal, from Settings > Accounts & Access in Nous, or in the mobile app, and Sophea acts at once instead of waiting for support:

  • The person is signed out of Portal, Nous and the mobile app everywhere at once, and cannot sign in again while the request is open.
  • Their account and personal data are erased within 30 days of the request. The date is on the page they see after confirming, on the page shown if they try to sign in, and in the email they receive.
  • They can cancel from the link in that email until erasure starts. Cancelling restores their access: the page shows that the account is being restored, then offers Sign in once it is. API keys and access tokens that were revoked stay revoked and have to be created again.
  • If they own an Organization that has other members, they choose a new owner first. If they are the only member of an Organization, deleting their account also closes it.

Automations the person owns are handled when the request is made, so nothing waits for the erasure date. An existing company automation moves to a Workspace admin, or to the Organization owner when the Workspace has no admin. If the new owner cannot run it yet, for example because they can’t use a Digital Employee one of its steps asks, it still moves to them, and its schedule, if it has one, is paused until they resume it. Its new owner can pass it on to someone else or to a Team with Transfer (see Build and run automations). An existing automation that uses the person’s private connection stops, as does one that no one could take over.

Before the person confirms, Portal and the Nous mobile app list the Organizations and Workspaces affected, the automations that move to someone else and the ones that stop. Each automation that moves names the person who takes it over.

Each Organization owner and admin of a Workspace the person belongs to receives one email when the request is made. It names the person, gives the erasure date, and lists the automations handed over to a new owner and the ones that stopped, with the reason for each. It also names the person’s private connections that were paused, including ones shared with a Team: they stop syncing at once and are deleted with their documents on the erasure date, so connect a Team’s source again from another account and share it with the same Team to keep it searchable. You are informed, not asked: there is nothing to approve and the deletion cannot be vetoed. To keep a stopped automation, rebuild it with a connector shared with the Workspace instead of a private one.

6.4 Understand Nous roles

Portal resolves the effective workspace role before synchronizing the account into Nous.

Nous role Typical workspace meaning Capabilities
Admin Workspace owner or workspace admin Manage workspace configuration, connectors, the default assistant, actions, integrations, and synchronized users.
Basic Workspace member Use chat, projects, available knowledge, and the agents the workspace publishes. Members can also create their own projects.
Limited Restricted service account Read supported resources and send chat messages without general administration.

Organization roles and effective workspace roles are different. An Organization admin receives workspace-admin authority across that Organization’s active workspaces. A direct workspace admin manages only that workspace and does not gain Organization people or Team management.

6.5 Personal API tokens

Any workspace member can create a personal token in Nous. Open the user menu, select User Settings > Accounts & Access, then select Create token. Name the token, choose an expiry, and copy its value when it appears. Nous shows the full value only once. Tokens created here begin nous_pat_.

A personal token acts as its owner in the current Nous workspace. Agent availability, indexed documents, and connected sources follow that person’s access. Store the token in a secret manager, and revoke it from the same screen when it is no longer needed. This token is for the Nous chat API.

For requests, options, and follow-up messages, see Use the Nous Chat API.

6.6 Service accounts

Service accounts represent scripts, scheduled jobs, and integrations that call the Nous API without a browser session. They are workspace-scoped and use bearer tokens.

The Nous Chat API guide also applies to service-account tokens.

Open Settings > Service Accounts, or navigate to /app/admin/service-accounts.

6.6.1 Create a service account

  1. Click New Service Account.
  2. Enter a name that identifies the system and purpose, for example Nightly policy check.
  3. Choose Basic or Limited permissions. Admin service accounts are provisioned through Portal rather than this Nous page.
  4. Click Create Account.
  5. Copy or download the token immediately and store it in a secret manager.
Warning

The token value is shown once. If you close the dialog before storing it, regenerate the token. Never put service-account tokens in source control, screenshots, chat messages, or plain configuration files.

Send the token as a bearer credential:

curl -H "Authorization: Bearer $SOPHEA_SERVICE_TOKEN" \
  https://nous.example.com/api/me

6.6.2 Choose the minimum role

  • Admin can call administrative endpoints. Use it only when the integration must change workspace configuration.
  • Basic is the default for scripts or integrations that need ordinary user-level APIs.
  • Limited is appropriate for integrations that only need supported read and chat operations.

Create separate service accounts for separate systems. This gives every integration an independent audit identity and lets you rotate or revoke one token without interrupting others.

6.6.3 Rotate or revoke a token

  • Use Regenerate when a token may be exposed or reaches your rotation date. The previous token stops working immediately.
  • Use Delete Account when the integration is retired. Existing audit entries remain attributable to that service account. If the service account owns personal connections, Nous removes them first and asks you to try again in a few minutes.

After every rotation, confirm the calling system uses the new token before considering the operation complete.