Skip to main content

Create User

POST https://api.repoflow.io/1/users

Create a new user account with the provided role. Only system admins can call this endpoint. Basic sign-up must be enabled on the server for this route to work. Admin-created users are trusted and their email is marked as verified automatically.

Allowed Role: System Admin • Authentication Required

Body

passwordstringRequired

User password. Allowed characters depend on server policy, max length 400.

emailstringRequired

Email address (normalized to lowercase, max 320 chars).

firstNamestringRequired

First name (max 30 chars).

lastNamestringRequired

Last name (max 30 chars).

usernamestringRequired

Username (lowercase, max 30 chars; trimmed and escaped by the server).

userRolestringRequired

Role for the user: user or system-admin.