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
  • Domain
  • create
  • update
  • delete
  • enable
  • disable
  • get
  • get_auth_info
  • get_public_key
  • list
  • stat
  • Message
  • Admin
  • CreateDomainRequest
  • DomainAuthInfo
  • DomainInfo
  • DomainRequest
  • DomainSearchQuery
  • DomainStatQuery
  • DomainsInfo
  • GetDomainAuthRequest
  • UpdateDomainRequest
  1. content
  2. en
  3. identity
  4. v2

Domain

Package : spaceone.api.identity.v2

Domain

Domain Methods:

Method
Request
Response

create

POST /identity/v2/domain/create

{{< tabs " create " >}}

{{< tab "Request Example" >}}

  • name (string) Required

  • admin (Admin) Required

  • tags (Struct)

{{< highlight json >}} { "name": "wonny-dev", "admin": { "user_id": "wonny@cloudforet.io", "name": "Wonny", "password": "Password1234!", "email": "wonny@cloudforet.io", "language": "en", "timezone": "UTC" } } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • domain_id (string) Required

  • name (string) Required

  • state (State) Required

  • tags (Struct) Required

  • created_at (string) Required

  • deleted_at (string) Required

{{< highlight json >}} { "domain_id": "domain-a1b2c3d4e5f6", "name": "wonny-dev", "state": "ENABLED", "created_at": "2024-11-12T02:24:01.233Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

update

POST /identity/v2/domain/update

{{< tabs " update " >}}

{{< tab "Request Example" >}}

  • domain_id (string) Required

  • name (string)

  • tags (Struct)

{{< highlight json >}} { "domain_id": "domain-a1b2c3d4e5f6", "name": "wonny-dev" } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • domain_id (string) Required

  • name (string) Required

  • state (State) Required

  • tags (Struct) Required

  • created_at (string) Required

  • deleted_at (string) Required

{{< highlight json >}} { "domain_id": "domain-a1b2c3d4e5f6", "name": "wonny-dev", "state": "ENABLED", "created_at": "2024-11-12T02:24:01.233Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

delete

POST /identity/v2/domain/delete

{{< tabs " delete " >}}

{{< tab "Request Example" >}}

  • domain_id (string) Required

{{< highlight json >}} { "domain_id": "domain-a1b2c3d4e5f6" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

enable

POST /identity/v2/domain/enable

{{< tabs " enable " >}}

{{< tab "Request Example" >}}

  • domain_id (string) Required

{{< highlight json >}} { "domain_id": "domain-a1b2c3d4e5f6" } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • domain_id (string) Required

  • name (string) Required

  • state (State) Required

  • tags (Struct) Required

  • created_at (string) Required

  • deleted_at (string) Required

{{< highlight json >}} { "domain_id": "domain-a1b2c3d4e5f6", "name": "wonny-dev", "state": "ENABLED", "created_at": "2024-11-12T02:24:01.233Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

disable

POST /identity/v2/domain/disable

{{< tabs " disable " >}}

{{< tab "Request Example" >}}

  • domain_id (string) Required

{{< highlight json >}} { "domain_id": "domain-a1b2c3d4e5f6" } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • domain_id (string) Required

  • name (string) Required

  • state (State) Required

  • tags (Struct) Required

  • created_at (string) Required

  • deleted_at (string) Required

{{< highlight json >}} { "domain_id": "domain-a1b2c3d4e5f6", "name": "wonny-dev", "state": "ENABLED", "created_at": "2024-11-12T02:24:01.233Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

get

POST /identity/v2/domain/get

{{< tabs " get " >}}

{{< tab "Request Example" >}}

  • domain_id (string) Required

{{< highlight json >}} { "domain_id": "domain-a1b2c3d4e5f6" } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • domain_id (string) Required

  • name (string) Required

  • state (State) Required

  • tags (Struct) Required

  • created_at (string) Required

  • deleted_at (string) Required

{{< highlight json >}} { "domain_id": "domain-a1b2c3d4e5f6", "name": "wonny-dev", "state": "ENABLED", "created_at": "2024-11-12T02:24:01.233Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

get_auth_info

+noauth

POST /identity/v2/domain/get-auth-info

{{< tabs " get_auth_info " >}}

{{< tab "Request Example" >}}

  • name (string) Required

{{< highlight json >}} { "name": "wonny-dev" } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • domain_id (string) Required

  • name (string) Required

  • external_auth_state (ExternalAuthState) Required

  • metadata (Struct) Required

  • config (Struct) Required

{{< highlight json >}} { "domain_id": "domain-a1b2c3d4e5f6", "name": "wonny-dev", "external_auth_state": "DISABLED", "metadata": {}, "config": { "settings": { "unified_cost_config": { "aggregation_day": 15.0, "currency": "KRW", "custom_exchange_rate": {}, "exchange_date": 15.0, "exchange_rate_mode": "AUTO", "exchange_source": "Yahoo! Finance", "is_exchange_last_day": false, "is_last_day": false, "run_hour": 0.0 } } } } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

get_public_key

list

POST /identity/v2/domain/list

{{< tabs " list " >}}

{{< tab "Request Example" >}}

  • query (Query)

  • domain_id (string)

  • name (string)

  • state (State)

{{< highlight json >}} { "query": { "filter": [{ "k": "tag.env", "v": "dev", "o": "eq" }], "sort": [{ "key": "created_at", "desc": true }] } } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • results (DomainInfo) Repeated Required

  • total_count (int32) Required

{{< highlight json >}} { "results": [ { "domain_id": "domain-a1b2c3d4e5f6", "name": "wonny-dev1", "state": "ENABLED", "created_at": "2024-11-12T02:24:01.233Z" }, { "domain_id": "domain-g7h8i9j1k2l3", "name": "wonny-dev2", "state": "ENABLED", "created_at": "2024-11-01T03:34:01.233Z" } ], "total_count": 2 } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

stat

Message

Admin

  • user_id (string) Required

  • name (string) Required

  • password (string) Required

  • email (string)

  • language (string)

  • timezone (string)

  • tags (Struct)

  • reset_password (bool)

CreateDomainRequest

  • name (string) Required

  • admin (Admin) Required

  • tags (Struct)

DomainAuthInfo

  • domain_id (string) Required

  • name (string) Required

  • external_auth_state (ExternalAuthState) Required

  • metadata (Struct) Required

  • config (Struct) Required

DomainInfo

  • domain_id (string) Required

  • name (string) Required

  • state (State) Required

  • tags (Struct) Required

  • created_at (string) Required

  • deleted_at (string) Required

DomainRequest

  • domain_id (string) Required

DomainSearchQuery

  • query (Query)

  • domain_id (string)

  • name (string)

  • state (State)

DomainStatQuery

  • query (StatisticsQuery) Required

DomainsInfo

  • results (DomainInfo) Repeated Required

  • total_count (int32) Required

GetDomainAuthRequest

  • name (string) Required

UpdateDomainRequest

  • domain_id (string) Required

  • name (string)

  • tags (Struct)

PreviousAuthorizationNextEndpoint

Last updated 6 months ago

CreateDomainRequest
UpdateDomainRequest
DomainRequest
DomainRequest
DomainRequest
DomainRequest
GetDomainAuthRequest
DomainSearchQuery
DomainInfo
DomainInfo
DomainInfo
DomainInfo
DomainInfo
DomainAuthInfo
DomainsInfo
create
CreateDomainRequest
DomainInfo
update
UpdateDomainRequest
DomainInfo
delete
DomainRequest
Empty
enable
DomainRequest
DomainInfo
disable
DomainRequest
DomainInfo
get
DomainRequest
DomainInfo
get_auth_info
GetDomainAuthRequest
DomainAuthInfo
get_public_key
AuthenticationRequest
AuthenticationResponse
list
DomainSearchQuery
DomainsInfo
stat
DomainStatQuery
Struct