Update one or more of the authenticated user's profile fields or settings.
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/users/{uuid}/
- Auth: HTTP bearer
Path parameters
Request body
Map of notification preferences. Keys include plugin_disabled, all_weekly_report_disabled, project_weekly_digest_disabled, error_tracking_weekly_digest_project_enabled, web_analytics_weekly_digest_project_enabled, organization_member_join_email_disabled, data_pipeline_error_threshold (number between 0.0 and 1.0), and other per-topic switches. Values are either booleans, or (for per-project/per-resource keys) a map of IDs to booleans. Only the keys you send are updated — other preferences stay as-is.
Whether PostHog should anonymize events captured for this user when identified.
Designates whether the user can log into this admin site.
The reason the operator gave when the current impersonation session started (or was last up/downgraded). Null when not impersonating.
When the last re-authentication stops counting as fresh. Changing email after this needs a new re-authentication. Null when the session has none on record.
The user's current password. Required when changing password if the user already has a usable password set.
- engineering - Engineering
- data - Data
- product - Product Management
- founder - Founder
- leadership - Leadership
- marketing - Marketing
- sales - Sales / Success
- student - Student
- other - Other
Whether passkeys are enabled for 2FA authentication. Users can disable this to use only TOTP for 2FA while keeping passkeys for login.
When true, the user has opted out of in-app hints promoting the PostHog MCP integration after taking actions.
Organization ID of the pending delegation invite, if any. Used by the frontend to scope the 'waiting for teammate' UI to the org where delegation was initiated.
Real-time notification types that currently have a live dispatch site. Drives the in-app notifications settings UI. Read-only.
True if the user has at least one Personal API Key or passkey, or a third-party OAuth application that can currently act as them, and has not yet acknowledged that access. Used to gate a one-shot review screen on first post-provisioning login. Becomes False once the user POSTs to /api/users/@me/credentials_review_complete/. Read-only.
Response
Map of notification preferences. Keys include plugin_disabled, all_weekly_report_disabled, project_weekly_digest_disabled, error_tracking_weekly_digest_project_enabled, web_analytics_weekly_digest_project_enabled, organization_member_join_email_disabled, data_pipeline_error_threshold (number between 0.0 and 1.0), and other per-topic switches. Values are either booleans, or (for per-project/per-resource keys) a map of IDs to booleans. Only the keys you send are updated — other preferences stay as-is.
Whether PostHog should anonymize events captured for this user when identified.
Designates whether the user can log into this admin site.
The reason the operator gave when the current impersonation session started (or was last up/downgraded). Null when not impersonating.
When the last re-authentication stops counting as fresh. Changing email after this needs a new re-authentication. Null when the session has none on record.
The user's current password. Required when changing password if the user already has a usable password set.
- engineering - Engineering
- data - Data
- product - Product Management
- founder - Founder
- leadership - Leadership
- marketing - Marketing
- sales - Sales / Success
- student - Student
- other - Other
Whether passkeys are enabled for 2FA authentication. Users can disable this to use only TOTP for 2FA while keeping passkeys for login.
When true, the user has opted out of in-app hints promoting the PostHog MCP integration after taking actions.
Organization ID of the pending delegation invite, if any. Used by the frontend to scope the 'waiting for teammate' UI to the org where delegation was initiated.
Real-time notification types that currently have a live dispatch site. Drives the in-app notifications settings UI. Read-only.
True if the user has at least one Personal API Key or passkey, or a third-party OAuth application that can currently act as them, and has not yet acknowledged that access. Used to gate a one-shot review screen on first post-provisioning login. Becomes False once the user POSTs to /api/users/@me/credentials_review_complete/. Read-only.
Changes
No recorded changes to this operation across all 1 revision of this API.