Users-2
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
GET | |
POST | |
POST | |
PATCH | |
POST | |
POST |
Create users two factor disable
Path parameters
- uuidstring
Request parameters
- first_namestring
- last_namestring
- emailstring
- notification_settingsobject
- anonymize_databoolean
- toolbar_mode
- is_staffboolean
- set_current_organizationstring
- set_current_teamstring
- passwordstring
- current_passwordstring
- events_column_config
- has_seen_product_intro_for
- theme_mode
- hedgehog_config
- allow_sidebar_suggestionsboolean
- shortcut_position
- role_at_organization
Example request
POST /api /users /:uuid /two_factor_disableExample response
Status 200 No response body
Create users two factor disable
Path parameters
- uuidstring
Request parameters
- first_namestring
- last_namestring
- emailstring
- notification_settingsobject
- anonymize_databoolean
- toolbar_mode
- is_staffboolean
- set_current_organizationstring
- set_current_teamstring
- passwordstring
- current_passwordstring
- events_column_config
- has_seen_product_intro_for
- theme_mode
- hedgehog_config
- allow_sidebar_suggestionsboolean
- shortcut_position
- role_at_organization
Example request
POST /api /users /:uuid /two_factor_disableExample response
Status 200 No response body
Retrieve users two factor start setup
Path parameters
- uuidstring
Example request
GET /api /users /:uuid /two_factor_start_setupExample response
Status 200 No response body
Retrieve users two factor start setup
Path parameters
- uuidstring
Example request
GET /api /users /:uuid /two_factor_start_setupExample response
Status 200 No response body
Retrieve users two factor status
Get current 2FA status including backup codes if enabled
Path parameters
- uuidstring
Example request
GET /api /users /:uuid /two_factor_statusExample response
Status 200 No response body
Retrieve users two factor status
Get current 2FA status including backup codes if enabled
Path parameters
- uuidstring
Example request
GET /api /users /:uuid /two_factor_statusExample response
Status 200 No response body
Create users two factor validate
Path parameters
- uuidstring
Request parameters
- first_namestring
- last_namestring
- emailstring
- notification_settingsobject
- anonymize_databoolean
- toolbar_mode
- is_staffboolean
- set_current_organizationstring
- set_current_teamstring
- passwordstring
- current_passwordstring
- events_column_config
- has_seen_product_intro_for
- theme_mode
- hedgehog_config
- allow_sidebar_suggestionsboolean
- shortcut_position
- role_at_organization
Example request
POST /api /users /:uuid /two_factor_validateExample response
Status 200 No response body
Create users two factor validate
Path parameters
- uuidstring
Request parameters
- first_namestring
- last_namestring
- emailstring
- notification_settingsobject
- anonymize_databoolean
- toolbar_mode
- is_staffboolean
- set_current_organizationstring
- set_current_teamstring
- passwordstring
- current_passwordstring
- events_column_config
- has_seen_product_intro_for
- theme_mode
- hedgehog_config
- allow_sidebar_suggestionsboolean
- shortcut_position
- role_at_organization
Example request
POST /api /users /:uuid /two_factor_validateExample response
Status 200 No response body
Create users validate 2fa
Path parameters
- uuidstring
Request parameters
- first_namestring
- last_namestring
- emailstring
- notification_settingsobject
- anonymize_databoolean
- toolbar_mode
- is_staffboolean
- set_current_organizationstring
- set_current_teamstring
- passwordstring
- current_passwordstring
- events_column_config
- has_seen_product_intro_for
- theme_mode
- hedgehog_config
- allow_sidebar_suggestionsboolean
- shortcut_position
- role_at_organization
Example request
POST /api /users /:uuid /validate_2faExample response
Status 200 No response body
Create users validate 2fa
Path parameters
- uuidstring
Request parameters
- first_namestring
- last_namestring
- emailstring
- notification_settingsobject
- anonymize_databoolean
- toolbar_mode
- is_staffboolean
- set_current_organizationstring
- set_current_teamstring
- passwordstring
- current_passwordstring
- events_column_config
- has_seen_product_intro_for
- theme_mode
- hedgehog_config
- allow_sidebar_suggestionsboolean
- shortcut_position
- role_at_organization
Example request
POST /api /users /:uuid /validate_2faExample response
Status 200 No response body
Update users cancel email change request
Request parameters
- first_namestring
- last_namestring
- emailstring
- notification_settingsobject
- anonymize_databoolean
- toolbar_mode
- is_staffboolean
- set_current_organizationstring
- set_current_teamstring
- passwordstring
- current_passwordstring
- events_column_config
- has_seen_product_intro_for
- theme_mode
- hedgehog_config
- allow_sidebar_suggestionsboolean
- shortcut_position
- role_at_organization
Example request
PATCH /api /users /cancel_email_change_requestExample response
Status 200 No response body
Update users cancel email change request
Request parameters
- first_namestring
- last_namestring
- emailstring
- notification_settingsobject
- anonymize_databoolean
- toolbar_mode
- is_staffboolean
- set_current_organizationstring
- set_current_teamstring
- passwordstring
- current_passwordstring
- events_column_config
- has_seen_product_intro_for
- theme_mode
- hedgehog_config
- allow_sidebar_suggestionsboolean
- shortcut_position
- role_at_organization
Example request
PATCH /api /users /cancel_email_change_requestExample response
Status 200 No response body
Create users request email verification
Request parameters
- first_namestring
- last_namestring
- emailstring
- notification_settingsobject
- anonymize_databoolean
- toolbar_mode
- is_staffboolean
- set_current_organizationstring
- set_current_teamstring
- passwordstring
- current_passwordstring
- events_column_config
- has_seen_product_intro_for
- theme_mode
- hedgehog_config
- allow_sidebar_suggestionsboolean
- shortcut_position
- role_at_organization
Example request
POST /api /users /request_email_verificationExample response
Status 200 No response body
Create users request email verification
Request parameters
- first_namestring
- last_namestring
- emailstring
- notification_settingsobject
- anonymize_databoolean
- toolbar_mode
- is_staffboolean
- set_current_organizationstring
- set_current_teamstring
- passwordstring
- current_passwordstring
- events_column_config
- has_seen_product_intro_for
- theme_mode
- hedgehog_config
- allow_sidebar_suggestionsboolean
- shortcut_position
- role_at_organization
Example request
POST /api /users /request_email_verificationExample response
Status 200 No response body
Create users verify email
Request parameters
- first_namestring
- last_namestring
- emailstring
- notification_settingsobject
- anonymize_databoolean
- toolbar_mode
- is_staffboolean
- set_current_organizationstring
- set_current_teamstring
- passwordstring
- current_passwordstring
- events_column_config
- has_seen_product_intro_for
- theme_mode
- hedgehog_config
- allow_sidebar_suggestionsboolean
- shortcut_position
- role_at_organization
Example request
POST /api /users /verify_emailExample response
Status 200 No response body
Create users verify email
Request parameters
- first_namestring
- last_namestring
- emailstring
- notification_settingsobject
- anonymize_databoolean
- toolbar_mode
- is_staffboolean
- set_current_organizationstring
- set_current_teamstring
- passwordstring
- current_passwordstring
- events_column_config
- has_seen_product_intro_for
- theme_mode
- hedgehog_config
- allow_sidebar_suggestionsboolean
- shortcut_position
- role_at_organization
Example request
POST /api /users /verify_emailExample response
Status 200 No response body
PostHog is an all-in-one developer platform for building successful products. We provide product analytics, web analytics, session replay, error tracking, feature flags, experiments, surveys, LLM analytics, data warehouse, CDP, and an AI product assistant to help debug your code, ship features faster, and keep all your usage and customer data in one stack.