UserProfile #
Package : spaceone.api.identity.v2
UserProfile #
UserProfile Methods:
update #
POST /identity/v2/user-profile/update
update_password #
POST /identity/v2/user-profile/update-password
UpdatePasswordUserProfileRequest
new_password (string)
Requiredcurrent_password (string)
{
"current_password": "password",
"new_password": "new_password"
}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
mfa_type (string)
RequiredEMAIL
options (Struct)
RequiredIf 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
{
"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
- 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
get_workspace_groups #
POST /identity/v2/user-profile/get-workspace-groups
Message #
ConfirmEmailRequest #
verify_code (string)
Required
ConfirmMFARequest #
verify_code (string)
Required
DisableMFARequest
#
EnableMFARequest #
mfa_type (string)
RequiredEMAIL
options (Struct)
RequiredIf mfa_type is EMAIL, email is required in options. options will be saved in mfa’s options field.
MyWorkspaceGroupInfo #
workspace_group_id (string)
Requiredname (string)
Requiredusers (UserWorkspaceGroup)
RepeatedRequiredtags (Struct)
Requiredrole_binding_info (RoleBindingInfo)
Requiredcreated_by (string)
Requiredupdated_by (string)
Requireddomain_id (string)
Requiredcreated_at (string)
Requiredupdated_at (string)
Required
MyWorkspaceGroupsInfo #
results (MyWorkspaceGroupInfo)
RepeatedRequiredtotal_count (int32)
Required
MyWorkspaceInfo #
workspace_id (string)
Requiredname (string)
Requiredstate (State)
Requiredrole_name (string)
Requiredrole_type (RoleType)
Requiredtags (Struct)
Requiredcreated_by (string)
Requiredreference_id (string)
Requiredis_managed (bool)
Requiredis_dormant (bool)
Requireddomain_id (string)
Requiredrole_id (string)
Requiredcreated_at (string)
Requiredlast_synced_at (string)
Requireddormant_updated_at (string)
Required
MyWorkspacesInfo #
results (MyWorkspaceInfo)
RepeatedRequiredtotal_count (int32)
Required
UpdatePasswordUserProfileRequest #
new_password (string)
Requiredcurrent_password (string)
UpdateUserProfileRequest #
name (string)
email (string)
language (string)
timezone (string)
tags (Struct)
UserPasswordResetRequest #
user_id (string)
Requireddomain_id (string)
Required
UserProfileRequest #
workspace_group_id (string)
VerifyEmailRequest #
email (string)