Authentication
Get/Update User Profile
Get authenticated user profile or update profile information
GET
Get User Profile
Endpoints
GET /api/auth/me
Retrieves the authenticated user’s profile including service access information.Request
Requires authentication via Bearer token.Response
User profile object
PATCH /api/auth/me
Updates user profile information. Only provided fields are updated.Request
New display name (1-100 characters). Optional.
Avatar URL or empty string to remove avatar. Must be valid URL if provided. Optional.
At least one field must be provided. Empty string for
avatar removes the avatar.Response
Updated user object (same structure as GET response)
Implementation Details
Code Reference
Status Codes
Success
Validation error or no fields to update (PATCH only)
Missing or invalid authentication token
User not found (GET only)
Example Requests
GET Profile
PATCH Profile
Remove Avatar
Audit Events
- USER_UPDATE: Profile updated (includes list of updated fields)
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Get User Profile