Documentation
User Routes
These pages document the live user endpoints mounted under /api/users.
PATCH /api/users/me
Updates the authenticated user's profile fields. Self-update is implicit for authenticated users.
Request
PATCH /api/users/me
Authorization: Bearer <access-token>
Content-Type: application/json
{
"name": "Jane Owner",
"profileUrl": "https://example.com/avatar.png"
}
Response 200
{
"user": {
"id": "uuid",
"orgId": "uuid",
"profileUrl": "https://example.com/avatar.png",
"name": "Jane Owner",
"email": "[email protected]",
"username": "owner_user",
"authProvider": "cognito",
"cognitoSub": "sub-123",
"roleId": "uuid",
"createdAt": "2026-03-28T00:00:00.000Z",
"updatedAt": "2026-03-29T12:00:00.000Z"
}
}