Identity & Access
Users
Manage user profiles, CRUD operations, and user preferences. Users belong to tenants and can be assigned roles and teams.
User profiles
CRUD for user records
Preferences
User settings and preferences
Roles & teams
Assign roles and team memberships
Create User
Body Parameters
| Parameter | Type | Description |
|---|---|---|
emailreq | string | User email address |
passwordreq | string | User password (min 8 chars) |
firstNamereq | string | First name |
lastNamereq | string | Last name |
phone | string | Phone number |
roleId | string | Role ID to assign |
teamIds | array | Array of team IDs |
Request
HTTP
http
POST https://api.leadron.io/v1/users
X-API-Key: ldr_live_sk_a1b2c3d4e5f6g7h8i9j0
Content-Type: application/jsonBody
json
1
2
3
4
5
6
7
{
"email": "jane@acme.com",
"password": "s3cur3P@ss!",
"firstName": "Jane",
"lastName": "Doe",
"roleId": "role_admin"
}Response201Created
201 Response
json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"success": true,
"status": 201,
"message": "Resource created successfully",
"data": {
"id": "6789abcdef012345",
"email": "jane@acme.com",
"firstName": "Jane",
"lastName": "Doe",
"roleId": "role_admin",
"createdAt": "2026-02-08T14:30:00.000Z"
},
"meta": {
"timestamp": "2026-02-08T14:30:00.000Z",
"version": "v1"
}
}