The Users API covers account management for the Registry. Admins can list all users, create new accounts, update roles, and remove accounts. Every signed-in user can read and update their own profile, change their password, and manage their personal Tokens — the secrets used to authenticate CLI and API requests.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/org-quicko/skillset/llms.txt
Use this file to discover all available pages before exploring further.
Endpoints at a glance
| Method | Path | Auth | Description |
|---|---|---|---|
| GET | /api/users | Admin+ | List all users |
| POST | /api/users | Admin+ | Create a user |
| GET | /api/users/me | Any signed-in | Current user profile |
| PATCH | /api/users/me | Any signed-in | Update own name |
| PUT | /api/users/me/password | Any signed-in* | Change own password |
| GET | /api/users/me/tokens | Any signed-in | List own Tokens |
| POST | /api/users/me/tokens | Any signed-in | Mint a Token |
| DELETE | /api/users/me/tokens/:token_id | Any signed-in | Revoke a Token |
| PATCH | /api/users/:user_id | Admin+ | Update a user’s role |
| DELETE | /api/users/:user_id | Admin+ | Remove a user |
must_change_password is set.
List users
Query parameters
Page number (1-based). Page size is fixed at 50.
Response fields
User records for this page. Each entry has:
Current page.
Always 50.
Total users in the Registry.
Create a user
initial_password. The new user must change this password on first sign-in — must_change_password is set to true on the created account. Requires Admin role.
Request body
First name (non-empty after trimming).
Last name (non-empty after trimming).
Email address. Must not already be used by another user.
Role to assign. One of
reader, writer, or admin. Cannot be superadmin — the Superadmin is set once at setup and cannot be created via this endpoint.Response fields
The created user record (same shape as the list item above).
The generated one-time password. This is shown exactly once and is not recoverable. Deliver it securely to the new user.
Error codes
| Code | Status | When |
|---|---|---|
email_taken | 409 | A user with that email already exists. |
validation_failed | 400 | A required field is missing or invalid. |
Get current user
must_change_password is set, so the web interface and CLI can check that flag and redirect the user to the password change screen.
Update own name
Request body
New first name (non-empty after trimming). Omit to leave unchanged.
New last name (non-empty after trimming). Omit to leave unchanged.
Change own password
must_change_password is set — this is the endpoint that clears that flag. On success, returns 204 No Content and invalidates all other active sessions (any session that did not make this request).
Request body
The current password (or the generated
initial_password).The replacement password. Must be at least 12 characters.
List own Tokens
Response
An array of Token objects:Token UUID.
Human-readable label for the Token.
ISO 8601 timestamp of when the Token was minted.
Mint a Token
secret — the value to pass in Authorization: Bearer. The secret is shown exactly once and is not stored in the Registry.
Request body
A label that identifies what this Token is for (e.g.
"ci-pipeline" or "laptop-cli").Response fields
Token UUID (use this to revoke the Token).
The label you provided.
ISO 8601 creation timestamp.
The bearer secret. Store this now — it is not retrievable later.
Revoke a Token
204 No Content.
Path parameters
UUID of the Token to revoke (from the
id field in the list or mint response).Error codes
| Code | Status | When |
|---|---|---|
not_found | 404 | No Token with that id exists under your account. |
Update a user’s role
Path parameters
UUID of the user to update.
Request body
New role:
reader, writer, or admin.Error codes
| Code | Status | When |
|---|---|---|
not_found | 404 | No user with that id. |
superadmin_protected | 409 | You cannot change the Superadmin’s role. |
Remove a user
204 No Content.
Path parameters
UUID of the user to remove.
Error codes
| Code | Status | When |
|---|---|---|
not_found | 404 | No user with that id. |
superadmin_protected | 409 | The Superadmin cannot be removed. |