API Reference/Documentation
GitHubDashboard
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

ParameterTypeDescription
emailreq
stringUser email address
passwordreq
stringUser password (min 8 chars)
firstNamereq
stringFirst name
lastNamereq
stringLast name
phone
stringPhone number
roleId
stringRole ID to assign
teamIds
arrayArray of team IDs
Request
HTTP
http
POST https://api.leadron.io/v1/users
X-API-Key: ldr_live_sk_a1b2c3d4e5f6g7h8i9j0
Content-Type: application/json
Body
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"
  }
}

List Users

Get User

Update User

User Preferences