Create user

Creates a new user under the specified tenant.

Two provisioning modes:
Secure mode (recommended): Set requirePasswordChange=true, omit password.
User receives activation link and sets their own password (zero-knowledge provisioning).
Quick mode (testing): Set requirePasswordChange=false, include password.
User can login immediately.

Response includes:
• User details (always)
• Activation information (if requirePasswordChange=true): token, expiration, activation URL

The password is securely hashed before storage. If requirePasswordChange=true and no password
is provided, a secure random password is generated internally (user never sees it).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
Body Params

Request payload for creating a new HUMAN user account within a tenant.

Two provisioning modes:
Secure mode (recommended): Set requirePasswordChange=true, omit password.
User receives activation link and sets their own password.
Quick mode (testing): Set requirePasswordChange=false, include password.
User can login immediately.

Email addresses must be unique within the tenant (case-insensitive comparison).

string
required
length between 0 and 320

Email address serving as the unique login identifier for the user within the tenant.
Must be a valid RFC 5322 email address. This value is case-insensitive and must be
unique across all users in the same tenant. Used for authentication and communication.

password
length ≥ 8

OPTIONAL - Initial password for the user account.

When to include:
requirePasswordChange=false (quick provisioning): REQUIRED - User can login immediately.
requirePasswordChange=true (secure provisioning - DEFAULT): OPTIONAL - If omitted, a secure random
password is generated internally. The user will set their own password during account activation.

Password requirements (if provided):
• Minimum 8 characters
• At least one uppercase letter (A-Z)
• At least one lowercase letter (a-z)
• At least one digit (0-9)

Security Note: For production use, it is recommended to omit this field and use requirePasswordChange=true,
following industry best practices (AWS Cognito, Azure AD, Auth0 pattern). This ensures zero-knowledge
provisioning where admins never see user passwords.

boolean
Defaults to true

Whether to require the user to change their password on first login (default: true).

true (default - RECOMMENDED): The user must activate their account via an activation token
before accessing any protected resources. The response will include an activation token that
is delivered to the user via email as a deep-link to the Admin Console activation page
(e.g., https://console.ankatech.co/activate?token=...). This follows
OWASP ASVS 2.1.1 and industry best practices (AWS Cognito, Azure AD, Auth0).

false: The password is permanent and can be used immediately for login. Use this for
automated integrations, testing, or bulk provisioning where password rotation is handled externally.

Security Note: When enabled (true - default), the response will include activation token metadata.
The user must use this token to set their own password before being able to login.

string
length between 0 and 255

Optional human-readable display name for UI presentation. This name does not need
to be unique and is used for user identification in interfaces. If not provided,
the email address will typically be used for display purposes.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json