cloudforet-apis
  • README
  • content
    • en
      • Cloudforet API Documentation
      • board
        • _index
        • v1
          • Board
          • Post
          • v1
      • config
        • _index
        • v1
          • DomainConfig
          • PublicConfig
          • UserConfig
          • WorkspaceConfig
          • v1
      • core
        • _index
        • v1
          • Handler
          • Query
          • ServerInfo
          • v1
        • v2
          • Handler
          • Plugin
          • Query
          • v2
      • cost_analysis
        • _index
        • plugin
          • Cost
          • DataSource
          • Job
          • plugin
        • v1
          • Budget
          • BudgetUsage
          • Cost
          • CostQuerySet
          • CostReport
          • CostReportConfig
          • CostReportData
          • CustomWidget
          • DataSource
          • DataSourceAccount
          • DataSourceRule
          • ExchangeRate
          • Job
          • JobTask
          • PublicDashboard
          • Schedule
          • UnifiedCost
          • UserDashboard
          • v1
      • dashboard
        • _index
        • v1
          • CustomWidget
          • Dashboard
          • DomainDashboard
          • PrivateDashboard
          • PrivateDataTable
          • PrivateFolder
          • PrivateWidget
          • ProjectDashboard
          • PublicDashboard
          • PublicDataTable
          • PublicFolder
          • PublicWidget
          • v1
      • file_manager
        • _index
        • v1
          • File
          • PublicFile
          • v1
      • identity
        • _index
        • plugin
          • AccountCollector
          • Auth
          • ExternalAuth
          • plugin
        • v1
          • ApiKey
          • Authorization
          • Domain
          • DomainOwner
          • Endpoint
          • Policy
          • Project
          • ProjectGroup
          • Provider
          • Role
          • RoleBinding
          • ServiceAccount
          • Token
          • User
          • v1
        • v2
          • Agent
          • ApiKey
          • App
          • Authorization
          • Domain
          • Endpoint
          • ExternalAuth
          • Job
          • Package
          • Policy
          • Project
          • ProjectGroup
          • Provider
          • Role
          • RoleBinding
          • Schema
          • ServiceAccount
          • System
          • Token
          • TrustedAccount
          • TrustedServiceAccount
          • User
          • UserGroup
          • UserProfile
          • Workspace
          • WorkspaceGroup
          • WorkspaceGroupDetails
          • WorkspaceGroupUser
          • WorkspaceUser
          • v2
      • inventory
        • _index
        • plugin
          • Collector
          • Job
          • plugin
        • v1
          • ChangeHistory
          • CloudService
          • CloudServiceQuerySet
          • CloudServiceReport
          • CloudServiceStats
          • CloudServiceType
          • Collector
          • CollectorRule
          • Job
          • JobTask
          • Metric
          • MetricData
          • MetricExample
          • Namespace
          • Note
          • Region
          • ResourceGroup
          • v1
        • v2
          • Region
          • v2
      • monitoring
        • _index
        • plugin
          • DataSource
          • Event
          • Log
          • Metric
          • Webhook
          • plugin
        • v1
          • Alert
          • DataSource
          • EscalationPolicy
          • Event
          • EventRule
          • Log
          • MaintenanceWindow
          • Metric
          • Note
          • ProjectAlertConfig
          • Webhook
          • v1
      • mzc_service_api
        • _index
        • v1
          • Contract
          • Offering
          • Organization
          • v1
      • notification
        • _index
        • plugin
          • Notification
          • Protocol
          • plugin
        • v1
          • Notification
          • NotificationUsage
          • ProjectChannel
          • Protocol
          • Quota
          • UserChannel
          • v1
      • opsflow
        • _index
        • v1
          • Comment
          • Event
          • Task
          • TaskCategory
          • TaskType
          • v1
      • plugin
        • _index
        • v1
          • Plugin
          • Supervisor
          • v1
      • repository
        • _index
        • v1
          • DashboardTemplate
          • Plugin
          • Policy
          • Repository
          • Schema
          • v1
        • v2
          • Common
          • Provider
          • RemoteRepository
          • Schema
          • v2
      • sample
        • _index
        • v1
          • Helloworld
          • v1
      • search
        • _index
        • v1
          • Resource
          • v1
      • secret
        • _index
        • v1
          • Secret
          • SecretGroup
          • TrustedSecret
          • UserSecret
          • v1
      • statistics
        • _index
        • plugin
          • Storage
          • plugin
        • v1
          • History
          • Resource
          • Schedule
          • Storage
          • v1
Powered by GitBook
On this page
  • UserProfile
  • update
  • verify_email
  • confirm_email
  • reset_password
  • enable_mfa
  • disable_mfa
  • confirm_mfa
  • get
  • get_workspaces
  • get_workspace_groups
  • Message
  • ConfirmEmailRequest
  • ConfirmMFARequest
  • DisableMFARequest
  • EnableMFARequest
  • MyWorkspaceGroupInfo
  • MyWorkspaceGroupsInfo
  • MyWorkspaceInfo
  • MyWorkspacesInfo
  • UpdateUserProfileRequest
  • UserPasswordResetRequest
  • UserProfileRequest
  • VerifyEmailRequest
  • WorkspaceGroupUserProfileRequest
  1. content
  2. en
  3. identity
  4. v2

UserProfile

Package : spaceone.api.identity.v2

UserProfile

UserProfile Methods:

Method
Request
Response

update

POST /identity/v2/user-profile/update

verify_email

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

{{< tabs " verify_email " >}}

{{< tab "Request Example" >}}

  • email (string)

{{< highlight json >}} { "email": "wonny@cloudforet.io" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

confirm_email

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

{{< tabs " confirm_email " >}}

{{< tab "Request Example" >}}

  • verify_code (string) Required

{{< highlight json >}} { "verify_code": "12346" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

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

{{< tabs " enable_mfa " >}}

{{< tab "Request Example" >}}

  • 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.

{{< highlight json >}} { "user_id": "example@cloudforet.com", "mfa_type": "EMAIL", "options": {"email": "wonny@cloudforet.com"}, "domain_id": "domain-a1b2c3d4e5f6" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

disable_mfa

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

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

{{< tabs " disable_mfa " >}}

{{< tab "Request Example" >}}

{{< highlight json >}} { "user_id": "example@cloudforet.com", "force": false, "domain_id": "domain-a1b2c3d4e5f6" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

confirm_mfa

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

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

{{< tabs " confirm_mfa " >}}

{{< tab "Request Example" >}}

  • verify_code (string) Required

{{< highlight json >}} { "user_id": "example@cloudforet", "verify_code": "123456", "domain_id": "domain-a1b2c3d4e5f6" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

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) Required

    EMAIL

  • options (Struct) Required

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

MyWorkspaceGroupInfo

  • workspace_group_id (string) Required

  • name (string) Required

  • users (UserWorkspaceGroup) Repeated Required

  • tags (Struct) Required

  • role_binding_info (RoleBindingInfo) Required

  • created_by (string) Required

  • updated_by (string) Required

  • domain_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

MyWorkspaceGroupsInfo

  • results (MyWorkspaceGroupInfo) Repeated Required

  • total_count (int32) Required

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

  • is_dormant (bool) Required

  • domain_id (string) Required

  • role_id (string) Required

  • created_at (string) Required

  • last_synced_at (string) Required

  • dormant_updated_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

  • workspace_group_id (string)

VerifyEmailRequest

  • email (string)

WorkspaceGroupUserProfileRequest

PreviousUserGroupNextWorkspace

Last updated 6 months ago

VerifyEmailRequest
ConfirmEmailRequest
EnableMFARequest
DisableMFARequest
ConfirmMFARequest
update
UpdateUserProfileRequest
UserInfo
verify_email
VerifyEmailRequest
Empty
confirm_email
ConfirmEmailRequest
UserInfo
reset_password
UserPasswordResetRequest
Empty
enable_mfa
EnableMFARequest
UserInfo
disable_mfa
DisableMFARequest
UserInfo
confirm_mfa
ConfirmMFARequest
UserInfo
get
UserProfileRequest
UserInfo
get_workspaces
UserProfileRequest
MyWorkspacesInfo
get_workspace_groups
WorkspaceGroupUserProfileRequest
MyWorkspaceGroupsInfo