User profile
The caller's user profile: name, email and preferences.
List user profiles
Returns a page holding the caller's own profile (the only one a user can see). Login tokens only: API keys get 401.
Create a user profile
Profiles are created automatically when a user first signs in, linked to their account and organization, which this endpoint cannot set; clients do not need it. Login tokens only: API keys get 401.
Retrieve a user profile
Returns the caller's profile by id; any other id is a 404. Login tokens only: API keys get 401.
Replace a user profile
Updates the caller's profile by id: `email`, `first_name`, `last_name` and `analytics_consent` are writable, the rest is read-only. Login tokens only: API keys get 401.
Update a user profile
Changes only the fields sent of the caller's profile (same writable fields as `PUT /user/{id}`). Login tokens only: API keys get 401.
Delete a user profile
Deletes the caller's profile, unlinking their account from its organization; the dashboard uses it to delete an account. Login tokens only: API keys get 401.
Get the caller's profile
Returns the authenticated user's profile. Accepts an API key or a login token; the dashboard calls it after sign-in. 404 when the caller has no profile.
Update the caller's profile
Updates the authenticated user's profile; fields left out are kept (`email`, `first_name`, `last_name` and `analytics_consent` are writable). Accepts an API key or a login token. 404 when the caller has no profile.