Users
Navigate to /users in the DaaS Studio to manage user accounts.
User Fields
| Field | Description |
|---|---|
email | Unique login email (required) |
first_name / last_name | Display name |
status | active, suspended, invited, draft, terminated |
roles | M2M — one user can hold multiple roles |
token | Static API token (plain text in DB, masked in API responses) |
title | Job title |
location | Location string |
Creating Users
Click Add User, fill in the email and other fields, and assign at least one role.
No invitation email is sent automatically on user creation. If you want to notify the user, send the email manually or trigger it via a hook using the built-in MailService.
Static API Tokens
Open a user’s edit form and click Generate Token. Copy the token — it is shown in plain text only immediately after generation. After saving, the token is stored in the database and masked in all subsequent API reads (returned as asterisks). It is not hashed — use it as a Bearer token in API requests.
User Status
Only users with active status are permitted to make API calls or log in to the Studio. All other statuses result in a 401 response even with a valid JWT or static token.
| Status | Can log in | Notes |
|---|---|---|
active | ✅ | Normal user |
invited | ❌ | Account created but access blocked until status is set to active |
suspended | ❌ | Manually disabled |
draft | ❌ | Not yet published |
terminated | ❌ | Permanently deactivated |