Path Parameters
The user id.
Query Parameters
The list of fields to update.
The otp_code is used to verify the user's identity by MFA.
The regenerate_temp_mfa_secret flag means to regenerate temporary MFA secret for user. This is used for MFA setup. The temporary MFA secret and recovery codes will be returned in the response.
The regenerate_recovery_codes flag means to regenerate recovery codes for user.
If set to true, and the user is not found, a new user will be created.
In this situation, update_mask is ignored.
Body
The lifecycle state of the user account.
STATE_UNSPECIFIED, ACTIVE, DELETED The email address of the user, used for login and notifications.
The display title or full name of the user.
The type of user account.
USER_TYPE_UNSPECIFIED, USER, SYSTEM_BOT, SERVICE_ACCOUNT The password for authentication. Only used during user creation or password updates.
The service key for service account authentication. Only used for service accounts.
The mfa_enabled flag means if the user has enabled MFA.
Temporary OTP secret used during MFA setup and regeneration.
Temporary recovery codes used during MFA setup and regeneration.
Timestamp when temp_otp_secret was created. Used by frontend to show countdown timer.
Should be a valid E.164 compliant phone number. Could be empty.
User profile metadata.
Response
OK
The name of the user. Format: users/{user}. {user} is a system-generated unique ID.
The lifecycle state of the user account.
STATE_UNSPECIFIED, ACTIVE, DELETED The email address of the user, used for login and notifications.
The display title or full name of the user.
The type of user account.
USER_TYPE_UNSPECIFIED, USER, SYSTEM_BOT, SERVICE_ACCOUNT The mfa_enabled flag means if the user has enabled MFA.
Temporary OTP secret used during MFA setup and regeneration.
Temporary recovery codes used during MFA setup and regeneration.
Timestamp when temp_otp_secret was created. Used by frontend to show countdown timer.
Should be a valid E.164 compliant phone number. Could be empty.
User profile metadata.
The groups for the user. Format: groups/{email}

