UserProfile

UserProfile #

Package : spaceone.api.identity.v2



UserProfile #

UserProfile Methods:

MethodRequestResponse
updateUpdateUserProfileRequestUserInfo
verify_emailVerifyEmailRequestEmpty
confirm_emailConfirmEmailRequestUserInfo
reset_passwordUserPasswordResetRequestEmpty
enable_mfaEnableMFARequestUserInfo
disable_mfaDisableMFARequestUserInfo
confirm_mfaConfirmMFARequestUserInfo
getUserProfileRequestUserInfo
get_workspacesUserProfileRequestMyWorkspacesInfo

update #

POST /identity/v2/user-profile/update


verify_email #

POST /identity/v2/user-profile/verify-email


confirm_email #

POST /identity/v2/user-profile/confirm-email


reset_password #

+noauth

POST /identity/v2/user-profile/reset-password


enable_mfa #

Enable MFA for user. If this api is called, send email to user.

POST /identity/v2/user-profile/enable-mfa

EnableMFARequest

  • mfa_type (string) Required

    EMAIL

  • options (Struct) Required

    If mfa_type is EMAIL, email is required in options. options will be saved in mfa’s options field.

{
 "user_id": "example@cloudforet.com",
 "mfa_type": "EMAIL",
 "options": {"email": "wonny@cloudforet.com"},
 "domain_id": "domain-a1b2c3d4e5f6"
}

disable_mfa #

Disable MFA for user. If this api is called, send email to user.

POST /identity/v2/user-profile/disable-mfa

DisableMFARequest

{
 "user_id": "example@cloudforet.com",
 "force": false,
 "domain_id": "domain-a1b2c3d4e5f6"
}

confirm_mfa #

Confirm MFA for user by given verify_code which is sent by your authentication method.

POST /identity/v2/user-profile/confirm-mfa

ConfirmMFARequest

  • verify_code (string) Required
{
 "user_id": "example@cloudforet",
 "verify_code": "123456",
 "domain_id": "domain-a1b2c3d4e5f6"
}

get #

POST /identity/v2/user-profile/get


get_workspaces #

POST /identity/v2/user-profile/get-workspaces



Message #

ConfirmEmailRequest #

  • verify_code (string) Required


ConfirmMFARequest #

  • verify_code (string) Required


DisableMFARequest
#

EnableMFARequest #

  • mfa_type (string) Required

    EMAIL

  • options (Struct) Required

    If mfa_type is EMAIL, email is required in options. options will be saved in mfa’s options field.


MyWorkspaceInfo #

  • workspace_id (string) Required

  • name (string) Required

  • state (State) Required

  • role_name (string) Required

  • role_type (RoleType) Required

  • tags (Struct) Required

  • created_by (string) Required

  • reference_id (string) Required

  • is_managed (bool) Required

  • domain_id (string) Required

  • role_id (string) Required

  • created_at (string) Required

  • last_synced_at (string) Required


MyWorkspacesInfo #

  • results (MyWorkspaceInfo) Repeated Required

  • total_count (int32) Required


UpdateUserProfileRequest #

  • password (string)

  • name (string)

  • email (string)

  • language (string)

  • timezone (string)

  • tags (Struct)


UserPasswordResetRequest #

  • user_id (string) Required

  • domain_id (string) Required


UserProfileRequest
#

VerifyEmailRequest #

  • email (string)


Calendar May 17, 2024
Edit Edit this page