Users
User management and authentication within the application. Provides endpoints to get the current authenticated user's profile, verify email addresses using verification keys from email links (with token expiration handling), and resend verification emails to authenticated users. Also includes tenant-scoped user management (CRUD operations) accessed via /api/tenants/{tenant}/users for managing users within specific tenants.
-
GET
Get current authenticated user
Returns the profile information of the currently authenticated user
/api/users/me
-
PUT
Verify user's email address
Verifies a user's email address using the verification key from the email link. Returns 200 if email is successfully verified (idempotent - also retur...
/api/users/email-verification
-
POST
Resend email verification link
Resends a verification email to the authenticated user's email address.
/api/users/email-verifications
-
GET
List TenantUsers
Lists all TenantUsers for the given tenant.
/api/tenants/{tenant}/users
-
POST
Create TenantUser
Creates a new TenantUser for the specified tenant.
/api/tenants/{tenant}/users
-
GET
Get TenantUser
Gets a TenantUser for the specified tenant.
/api/tenants/{tenant}/users/{code}
-
PUT
Update TenantUser
Updates a TenantUser for the specified tenant.
/api/tenants/{tenant}/users/{code}
-
DELETE
Delete TenantUser
Deletes a TenantUser for the specified tenant.
/api/tenants/{tenant}/users/{code}