> For the complete documentation index, see [llms.txt](https://typless.gitbook.io/typlessapi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://typless.gitbook.io/typlessapi/typless-hub/users-and-roles.md). Agents can also search and read this documentation through its [MCP server](https://typless.gitbook.io/typlessapi/~gitbook/mcp).

# Users and roles

Organisation, users, roles and document type access in the Typless hub

Typless is multi-user: several people can work in one organisation (tenant) and share its subscription and resources. Everything you create belongs to the organisation, not to a single user:

* document types, their datasets, models and extraction history,
* API keys and webhooks,
* the subscription, usage and invoices.

The user who registers the organisation is its owner and gets the **Tenant Admin** role. Tenant Admins can invite more users.

## Roles

| What the user can do                                                        | Tenant Admin | Regular User                    |
| --------------------------------------------------------------------------- | ------------ | ------------------------------- |
| See document types, their history and models; use the training room         | All          | Only the allowed document types |
| Create, edit and delete document types                                      | ✅            | ❌                               |
| ***Analytics*** and ***Audit Logs***                                        | ✅            | ❌                               |
| ***Settings*** → ***Users***, ***API Keys***, ***Webhooks***, ***Billing*** | ✅            | ❌                               |
| ***Settings*** → ***Profile***                                              | ✅            | ✅                               |

A Regular User sees only the document types a Tenant Admin allowed for them, everywhere in the hub.

{% hint style="warning" %} <mark style="color:orange;">**🚧 API keys are not limited by document type**</mark>

Document type access applies to users signed in to the Typless hub. An API key can use every document type of the organisation, so give API keys only to systems that may access all of them.
{% endhint %}

## Inviting a user

1. Open ***Settings*** → ***Users*** and click ***Invite user***.
2. Enter the ***Email***, choose the ***Role*** and, under ***Allowed document types***, the document types the user may access (or check ***Allow all***).
3. Click ***Send invitation***.

The new user gets an e-mail with a temporary password. After signing in for the first time with the temporary password, the user is asked to set a new password and can then work with the resources of the organisation. Until then, the user's status is ***Invited***.

An e-mail address can belong to only one organisation. Inviting an address that already has a Typless account fails.

<figure><img src="https://2174127710-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FePXqOCeLb4FOuZhmYG8X%2Fuploads%2Fgit-blob-6e07c1500a1a667befa214d7041e03b4267f426e%2Fimage.png?alt=media" alt=""><figcaption><p>Inviting new user to the organisation</p></figcaption></figure>

## Changing and removing users

In the actions menu of a user you can:

* **Edit**: change the role, the allowed document types and the ***Status***. A ***Disabled*** user can't sign in until you set the status back to ***Active***.
* **Delete**: remove the user from the organisation. The user's account is deleted; the documents and document types stay with the organisation.

You can't change your own role, so an organisation always keeps a Tenant Admin.

## E-mails to Tenant Admins

Billing e-mails, such as a failed payment or a cancelled subscription, go to the owner who registered the organisation, or to all Tenant Admins if the owner is no longer a Tenant Admin.

## Inactive organisations

If nobody in an organisation uses Typless (neither the hub nor the API) for 6 months, the Tenant Admins get an e-mail that the organisation is inactive. After one year without activity the organisation and all its data are deleted; Tenant Admins are warned by e-mail 7 days before. Any sign-in or API request makes the organisation active again.
