User Management API
Endpoints for managing user profiles, preferences, and account data.
Get Current User
GET
/api/users/meRequires authentication.
Response (200 OK)
Update User Profile
PATCH
/api/users/meRequires authentication.
Request Body
Response (200 OK)
Change Password
POST
/api/users/me/passwordRequires authentication.
Request Body
Response (200 OK)
Get Active Devices
GET
/api/users/me/devicesList all active sessions/devices. Requires authentication.
Response (200 OK)
Revoke Device Session
DELETE
/api/users/me/devices/:deviceIdRevoke a specific device session. Requires authentication.
Response (200 OK)
Get Audit Log
GET
/api/users/me/auditRetrieve user activity history. Requires authentication.
Query Parameters
Response (200 OK)
Delete Account
DELETE
/api/users/mePermanently delete user account. Requires authentication and password confirmation.
Request Body
Response (200 OK)
⚠️ Warning: Account deletion is permanent and cannot be undone. All user data will be removed.
List Users (Admin)
GET
/api/admin/usersList all users in tenant. Requires admin authentication.
Query Parameters
Response (200 OK)