Workspace #
Package : spaceone.api.identity.v2
Workspace #
Workspace Methods:
create #
POST /identity/v2/workspace/create
name (string)
Requiredtags (Struct)
Required
{
"name": "Cloudforet Workspace"
}workspace_id (string)
Requiredname (string)
Requiredstate (State)
Requiredtags (Struct)
Requiredcreated_by (string)
Requiredreferences (string)
RepeatedRequiredis_managed (bool)
Requiredpackages (string)
RepeatedRequiredis_dormant (bool)
Requireddormant_ttl (int32)
Requiredservice_account_count (int32)
Requireduser_count (int32)
Requiredcost_info (WorkspaceCostInfo)
Requiredworkspace_group_id (string)
Requireddomain_id (string)
Requiredtrusted_account_id (string)
Requiredcreated_at (string)
Requiredlast_synced_at (string)
Requireddormant_updated_at (string)
Requiredchanged_at (string)
Required
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"name": "Cloudforet Workspace",
"state": "ENABLED",
"created_by": "cloudforet@cloudforet.io",
"dormant_ttl": -1,
"cost_info": {},
"workspace_group_id": "wg-a1b2c3d4e5f6",
"domain_id": "domain-a1b2c3d4e5f6",
"created_at": "2024-11-12T08:14:04.011Z"
}update #
POST /identity/v2/workspace/update
workspace_id (string)
Requiredname (string)
tags (Struct)
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"name": "Cloudforet Workspace"
}workspace_id (string)
Requiredname (string)
Requiredstate (State)
Requiredtags (Struct)
Requiredcreated_by (string)
Requiredreferences (string)
RepeatedRequiredis_managed (bool)
Requiredpackages (string)
RepeatedRequiredis_dormant (bool)
Requireddormant_ttl (int32)
Requiredservice_account_count (int32)
Requireduser_count (int32)
Requiredcost_info (WorkspaceCostInfo)
Requiredworkspace_group_id (string)
Requireddomain_id (string)
Requiredtrusted_account_id (string)
Requiredcreated_at (string)
Requiredlast_synced_at (string)
Requireddormant_updated_at (string)
Requiredchanged_at (string)
Required
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"name": "Cloudforet Workspace",
"state": "ENABLED",
"created_by": "cloudforet@cloudforet.io",
"dormant_ttl": -1,
"cost_info": {},
"workspace_group_id": "wg-a1b2c3d4e5f6",
"domain_id": "domain-a1b2c3d4e5f6",
"created_at": "2024-11-12T08:14:04.011Z"
}change_workspace_group #
POST /identity/v2/workspace/change-workspace-group
workspace_id (string)
Requiredworkspace_group_id (string)
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"workspace_group_id": "wg-a1b2c3d4e5f6"
}workspace_id (string)
Requiredname (string)
Requiredstate (State)
Requiredtags (Struct)
Requiredcreated_by (string)
Requiredreferences (string)
RepeatedRequiredis_managed (bool)
Requiredpackages (string)
RepeatedRequiredis_dormant (bool)
Requireddormant_ttl (int32)
Requiredservice_account_count (int32)
Requireduser_count (int32)
Requiredcost_info (WorkspaceCostInfo)
Requiredworkspace_group_id (string)
Requireddomain_id (string)
Requiredtrusted_account_id (string)
Requiredcreated_at (string)
Requiredlast_synced_at (string)
Requireddormant_updated_at (string)
Requiredchanged_at (string)
Required
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"name": "Cloudforet Workspace",
"state": "ENABLED",
"created_by": "cloudforet@cloudforet.io",
"dormant_ttl": -1,
"cost_info": {},
"workspace_group_id": "wg-a1b2c3d4e5f6",
"domain_id": "domain-a1b2c3d4e5f6",
"created_at": "2024-11-12T08:14:04.011Z"
}delete #
POST /identity/v2/workspace/delete
workspace_id (string)
Requiredforce (bool)
Required
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"force": true
}enable #
POST /identity/v2/workspace/enable
workspace_id (string)
Requiredname (string)
Requiredstate (State)
Requiredtags (Struct)
Requiredcreated_by (string)
Requiredreferences (string)
RepeatedRequiredis_managed (bool)
Requiredpackages (string)
RepeatedRequiredis_dormant (bool)
Requireddormant_ttl (int32)
Requiredservice_account_count (int32)
Requireduser_count (int32)
Requiredcost_info (WorkspaceCostInfo)
Requiredworkspace_group_id (string)
Requireddomain_id (string)
Requiredtrusted_account_id (string)
Requiredcreated_at (string)
Requiredlast_synced_at (string)
Requireddormant_updated_at (string)
Requiredchanged_at (string)
Required
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"name": "Cloudforet Workspace",
"state": "ENABLED",
"created_by": "cloudforet@cloudforet.io",
"dormant_ttl": -1,
"cost_info": {},
"workspace_group_id": "wg-a1b2c3d4e5f6",
"domain_id": "domain-a1b2c3d4e5f6",
"created_at": "2024-11-12T08:14:04.011Z"
}disable #
POST /identity/v2/workspace/disable
workspace_id (string)
Requiredname (string)
Requiredstate (State)
Requiredtags (Struct)
Requiredcreated_by (string)
Requiredreferences (string)
RepeatedRequiredis_managed (bool)
Requiredpackages (string)
RepeatedRequiredis_dormant (bool)
Requireddormant_ttl (int32)
Requiredservice_account_count (int32)
Requireduser_count (int32)
Requiredcost_info (WorkspaceCostInfo)
Requiredworkspace_group_id (string)
Requireddomain_id (string)
Requiredtrusted_account_id (string)
Requiredcreated_at (string)
Requiredlast_synced_at (string)
Requireddormant_updated_at (string)
Requiredchanged_at (string)
Required
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"name": "Cloudforet Workspace",
"state": "ENABLED",
"created_by": "cloudforet@cloudforet.io",
"dormant_ttl": -1,
"cost_info": {},
"workspace_group_id": "wg-a1b2c3d4e5f6",
"domain_id": "domain-a1b2c3d4e5f6",
"created_at": "2024-11-12T08:14:04.011Z"
}add_package #
POST /identity/v2/workspace/add-package
workspace_id (string)
Requiredpackage_id (string)
Required
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"package_id": "package-a1b2c3d4e5f6"
}workspace_id (string)
Requiredname (string)
Requiredstate (State)
Requiredtags (Struct)
Requiredcreated_by (string)
Requiredreferences (string)
RepeatedRequiredis_managed (bool)
Requiredpackages (string)
RepeatedRequiredis_dormant (bool)
Requireddormant_ttl (int32)
Requiredservice_account_count (int32)
Requireduser_count (int32)
Requiredcost_info (WorkspaceCostInfo)
Requiredworkspace_group_id (string)
Requireddomain_id (string)
Requiredtrusted_account_id (string)
Requiredcreated_at (string)
Requiredlast_synced_at (string)
Requireddormant_updated_at (string)
Requiredchanged_at (string)
Required
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"name": "Cloudforet Workspace",
"state": "ENABLED",
"created_by": "cloudforet@cloudforet.io",
"dormant_ttl": -1,
"cost_info": {},
"workspace_group_id": "wg-a1b2c3d4e5f6",
"domain_id": "domain-a1b2c3d4e5f6",
"created_at": "2024-11-12T08:14:04.011Z"
}remove_package #
POST /identity/v2/workspace/remove-package
workspace_id (string)
Requiredpackage_id (string)
Required
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"package_id": "package-a1b2c3d4e5f6"
}workspace_id (string)
Requiredname (string)
Requiredstate (State)
Requiredtags (Struct)
Requiredcreated_by (string)
Requiredreferences (string)
RepeatedRequiredis_managed (bool)
Requiredpackages (string)
RepeatedRequiredis_dormant (bool)
Requireddormant_ttl (int32)
Requiredservice_account_count (int32)
Requireduser_count (int32)
Requiredcost_info (WorkspaceCostInfo)
Requiredworkspace_group_id (string)
Requireddomain_id (string)
Requiredtrusted_account_id (string)
Requiredcreated_at (string)
Requiredlast_synced_at (string)
Requireddormant_updated_at (string)
Requiredchanged_at (string)
Required
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"name": "Cloudforet Workspace",
"state": "ENABLED",
"created_by": "cloudforet@cloudforet.io",
"dormant_ttl": -1,
"cost_info": {},
"workspace_group_id": "wg-a1b2c3d4e5f6",
"domain_id": "domain-a1b2c3d4e5f6",
"created_at": "2024-11-12T08:14:04.011Z"
}get #
POST /identity/v2/workspace/get
workspace_id (string)
Requiredname (string)
Requiredstate (State)
Requiredtags (Struct)
Requiredcreated_by (string)
Requiredreferences (string)
RepeatedRequiredis_managed (bool)
Requiredpackages (string)
RepeatedRequiredis_dormant (bool)
Requireddormant_ttl (int32)
Requiredservice_account_count (int32)
Requireduser_count (int32)
Requiredcost_info (WorkspaceCostInfo)
Requiredworkspace_group_id (string)
Requireddomain_id (string)
Requiredtrusted_account_id (string)
Requiredcreated_at (string)
Requiredlast_synced_at (string)
Requireddormant_updated_at (string)
Requiredchanged_at (string)
Required
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"name": "Cloudforet Workspace",
"state": "ENABLED",
"created_by": "cloudforet@cloudforet.io",
"dormant_ttl": -1,
"cost_info": {},
"workspace_group_id": "wg-a1b2c3d4e5f6",
"domain_id": "domain-a1b2c3d4e5f6",
"created_at": "2024-11-12T08:14:04.011Z"
}check #
list #
POST /identity/v2/workspace/list
query (Query)
workspace_id (string)
name (string)
state (State)
created_by (string)
is_managed (bool)
is_dormant (bool)
workspace_group_id (string)
{
"query": {
"page": {
"start": 1,
"limit": 10
}
}
}results (WorkspaceInfo)
RepeatedRequiredtotal_count (int32)
Required
{
"results": [
{
"workspace_id": "workspace-a1b2c3d4e5f6",
"name": "Cloudforet Workspace",
"state": "ENABLED",
"created_by": "wonny@cloudforet.io",
"dormant_ttl": -1,
"service_account_count": 0,
"user_count": 0,
"cost_info": {},
"domain_id": "domain-a1b2c3d4e5f6",
"created_at": "2024-11-12T08:25:08.762Z"
},
{
"workspace_id": "workspace-g7h8i9j1k2l3",
"name": "Wonny Workspace",
"state": "ENABLED",
"created_by": "cloudforet@cloudforet.io",
"dormant_ttl": 0,
"service_account_count": 0,
"user_count": 0,
"cost_info": {},
"workspace_group_id": "wg-a1b2c3d4e5f6",
"domain_id": "domain-g7h8i9j1k2l3",
"created_at": "2024-11-12T08:14:04.011Z",
"changed_at": "2024-11-12T08:43:39.945Z"
}
],
"total_count": 2
}stat #
POST /identity/v2/workspace/stat
Message #
ChangeWorkspaceGroupRequest #
workspace_id (string)
Requiredworkspace_group_id (string)
CreateWorkSpaceRequest #
name (string)
Requiredtags (Struct)
Required
UpdateWorkSpaceRequest #
workspace_id (string)
Requiredname (string)
tags (Struct)
WorkspaceCheckRequest #
workspace_id (string)
Requireddomain_id (string)
Required
WorkspaceCostInfo #
day (float)
Requiredmonth (float)
Required
WorkspaceDeleteRequest #
workspace_id (string)
Requiredforce (bool)
Required
WorkspaceInfo #
workspace_id (string)
Requiredname (string)
Requiredstate (State)
Requiredtags (Struct)
Requiredcreated_by (string)
Requiredreferences (string)
RepeatedRequiredis_managed (bool)
Requiredpackages (string)
RepeatedRequiredis_dormant (bool)
Requireddormant_ttl (int32)
Requiredservice_account_count (int32)
Requireduser_count (int32)
Requiredcost_info (WorkspaceCostInfo)
Requiredworkspace_group_id (string)
Requireddomain_id (string)
Requiredtrusted_account_id (string)
Requiredcreated_at (string)
Requiredlast_synced_at (string)
Requireddormant_updated_at (string)
Requiredchanged_at (string)
Required
WorkspacePackageRequest #
workspace_id (string)
Requiredpackage_id (string)
Required
WorkspaceRequest #
workspace_id (string)
Required
WorkspaceSearchQuery #
query (Query)
workspace_id (string)
name (string)
state (State)
created_by (string)
is_managed (bool)
is_dormant (bool)
workspace_group_id (string)
WorkspaceStatQuery #
query (StatisticsQuery)
Required
WorkspacesInfo #
results (WorkspaceInfo)
RepeatedRequiredtotal_count (int32)
Required