Create an Umami login
umami_create_userCreate a new login account for internal team members on a self-hosted Umami instance. Specify username, password, and role; requires admin access.
Instructions
Create a new login account on this self-hosted Umami instance. This is for internal team members who need their own login, not for issuing client-facing accounts.
Admin access required. Not available on Umami Cloud.
Args:
username (string, required): Login username.
password (string, required): Login password. The user can change it after logging in.
role ('admin' | 'user' | 'view-only'): Instance-wide role (default: 'user'). 'admin' can manage all users and websites; 'user' can manage their own websites; 'view-only' can only view.
id (string, optional): Force a specific UUID for the user.
Returns: { "id": string, "username": string, "role": string }
Examples:
"Create a login for the new ops hire" -> username="jordan", password="", role="user"
Error handling:
Fails with a 400 if the username is already taken.
Fails with 403 if the calling account is not an Umami admin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Force a specific UUID for the user. | |
| role | No | Instance-wide role. | user |
| password | Yes | Login password, at least 8 characters. | |
| username | Yes | Login username. |