# Workspace

> **Package : spaceone.api.identity.v2**

\
\


## Workspace

**Workspace Methods:**

| Method                                                                                                                                                 | Request                                                                                                                                                    | Response                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| [**create**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#create)                                   | [CreateWorkSpaceRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#createworkspacerequest)           | [WorkspaceInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspaceinfo)   |
| [**update**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#update)                                   | [UpdateWorkSpaceRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#updateworkspacerequest)           | [WorkspaceInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspaceinfo)   |
| [**change\_workspace\_group**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#change_workspace_group) | [ChangeWorkspaceGroupRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#changeworkspacegrouprequest) | [WorkspaceInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspaceinfo)   |
| [**delete**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#delete)                                   | [WorkspaceDeleteRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacedeleterequest)           | [Empty](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#empty)                   |
| [**enable**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#enable)                                   | [WorkspaceRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacerequest)                       | [WorkspaceInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspaceinfo)   |
| [**disable**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#disable)                                 | [WorkspaceRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacerequest)                       | [WorkspaceInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspaceinfo)   |
| [**add\_package**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#add_package)                        | [WorkspacePackageRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacepackagerequest)         | [WorkspaceInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspaceinfo)   |
| [**remove\_package**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#remove_package)                  | [WorkspacePackageRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacepackagerequest)         | [WorkspaceInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspaceinfo)   |
| [**get**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#get)                                         | [WorkspaceRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacerequest)                       | [WorkspaceInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspaceinfo)   |
| [**check**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#check)                                     | [WorkspaceCheckRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacecheckrequest)             | [Empty](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#empty)                   |
| [**list**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#list)                                       | [WorkspaceSearchQuery](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacesearchquery)               | [WorkspacesInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacesinfo) |
| [**stat**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#stat)                                       | [WorkspaceStatQuery](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacestatquery)                   | [Struct](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#struct)                 |

\


### create

> **POST** /identity/v2/workspace/create

\{{< tabs " create " >\}}

\{{< tab "Request Example" >\}}

[CreateWorkSpaceRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#createworkspacerequest)

* **name** (string) `Required`
* **tags** (Struct) `Required`

\{{< highlight json >\}} { "name": "Cloudforet Workspace" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< tab "Response Example" >\}}

[WorkspaceInfo](#WORKSPACEINFO)

* **workspace\_id** (string) `Required`
* **name** (string) `Required`
* **state** (State) `Required`
* **tags** (Struct) `Required`
* **created\_by** (string) `Required`
* **references** (string) `Repeated` `Required`
* **is\_managed** (bool) `Required`
* **packages** (string) `Repeated` `Required`
* **is\_dormant** (bool) `Required`
* **dormant\_ttl** (int32) `Required`
* **service\_account\_count** (int32) `Required`
* **user\_count** (int32) `Required`
* **cost\_info** (WorkspaceCostInfo) `Required`
* **workspace\_group\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **trusted\_account\_id** (string) `Required`
* **created\_at** (string) `Required`
* **last\_synced\_at** (string) `Required`
* **dormant\_updated\_at** (string) `Required`
* **changed\_at** (string) `Required`

\{{< highlight json >\}} { "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" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< /tabs >\}}

\


### update

> **POST** /identity/v2/workspace/update

\{{< tabs " update " >\}}

\{{< tab "Request Example" >\}}

[UpdateWorkSpaceRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#updateworkspacerequest)

* **workspace\_id** (string) `Required`
* **name** (string)
* **tags** (Struct)

\{{< highlight json >\}} { "workspace\_id": "workspace-a1b2c3d4e5f6", "name": "Cloudforet Workspace" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< tab "Response Example" >\}}

[WorkspaceInfo](#WORKSPACEINFO)

* **workspace\_id** (string) `Required`
* **name** (string) `Required`
* **state** (State) `Required`
* **tags** (Struct) `Required`
* **created\_by** (string) `Required`
* **references** (string) `Repeated` `Required`
* **is\_managed** (bool) `Required`
* **packages** (string) `Repeated` `Required`
* **is\_dormant** (bool) `Required`
* **dormant\_ttl** (int32) `Required`
* **service\_account\_count** (int32) `Required`
* **user\_count** (int32) `Required`
* **cost\_info** (WorkspaceCostInfo) `Required`
* **workspace\_group\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **trusted\_account\_id** (string) `Required`
* **created\_at** (string) `Required`
* **last\_synced\_at** (string) `Required`
* **dormant\_updated\_at** (string) `Required`
* **changed\_at** (string) `Required`

\{{< highlight json >\}} { "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" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< /tabs >\}}

\


### change\_workspace\_group

> **POST** /identity/v2/workspace/change-workspace-group

\{{< tabs " change\_workspace\_group " >\}}

\{{< tab "Request Example" >\}}

[ChangeWorkspaceGroupRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#changeworkspacegrouprequest)

* **workspace\_id** (string) `Required`
* **workspace\_group\_id** (string)

\{{< highlight json >\}} { "workspace\_id": "workspace-a1b2c3d4e5f6", "workspace\_group\_id": "wg-a1b2c3d4e5f6" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< tab "Response Example" >\}}

[WorkspaceInfo](#WORKSPACEINFO)

* **workspace\_id** (string) `Required`
* **name** (string) `Required`
* **state** (State) `Required`
* **tags** (Struct) `Required`
* **created\_by** (string) `Required`
* **references** (string) `Repeated` `Required`
* **is\_managed** (bool) `Required`
* **packages** (string) `Repeated` `Required`
* **is\_dormant** (bool) `Required`
* **dormant\_ttl** (int32) `Required`
* **service\_account\_count** (int32) `Required`
* **user\_count** (int32) `Required`
* **cost\_info** (WorkspaceCostInfo) `Required`
* **workspace\_group\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **trusted\_account\_id** (string) `Required`
* **created\_at** (string) `Required`
* **last\_synced\_at** (string) `Required`
* **dormant\_updated\_at** (string) `Required`
* **changed\_at** (string) `Required`

\{{< highlight json >\}} { "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" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< /tabs >\}}

\


### delete

> **POST** /identity/v2/workspace/delete

\{{< tabs " delete " >\}}

\{{< tab "Request Example" >\}}

[WorkspaceDeleteRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacedeleterequest)

* **workspace\_id** (string) `Required`
* **force** (bool) `Required`

\{{< highlight json >\}} { "workspace\_id": "workspace-a1b2c3d4e5f6", "force": true } \{{< /highlight >\}} \{{< /tab >\}}

\{{< /tabs >\}}

\


### enable

> **POST** /identity/v2/workspace/enable

\{{< tabs " enable " >\}}

\{{< tab "Request Example" >\}}

[WorkspaceRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacerequest)

* **workspace\_id** (string) `Required`

\{{< highlight json >\}} { "workspace\_id": "workspace-a1b2c3d4e5f6" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< tab "Response Example" >\}}

[WorkspaceInfo](#WORKSPACEINFO)

* **workspace\_id** (string) `Required`
* **name** (string) `Required`
* **state** (State) `Required`
* **tags** (Struct) `Required`
* **created\_by** (string) `Required`
* **references** (string) `Repeated` `Required`
* **is\_managed** (bool) `Required`
* **packages** (string) `Repeated` `Required`
* **is\_dormant** (bool) `Required`
* **dormant\_ttl** (int32) `Required`
* **service\_account\_count** (int32) `Required`
* **user\_count** (int32) `Required`
* **cost\_info** (WorkspaceCostInfo) `Required`
* **workspace\_group\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **trusted\_account\_id** (string) `Required`
* **created\_at** (string) `Required`
* **last\_synced\_at** (string) `Required`
* **dormant\_updated\_at** (string) `Required`
* **changed\_at** (string) `Required`

\{{< highlight json >\}} { "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" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< /tabs >\}}

\


### disable

> **POST** /identity/v2/workspace/disable

\{{< tabs " disable " >\}}

\{{< tab "Request Example" >\}}

[WorkspaceRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacerequest)

* **workspace\_id** (string) `Required`

\{{< highlight json >\}} { "workspace\_id": "workspace-a1b2c3d4e5f6" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< tab "Response Example" >\}}

[WorkspaceInfo](#WORKSPACEINFO)

* **workspace\_id** (string) `Required`
* **name** (string) `Required`
* **state** (State) `Required`
* **tags** (Struct) `Required`
* **created\_by** (string) `Required`
* **references** (string) `Repeated` `Required`
* **is\_managed** (bool) `Required`
* **packages** (string) `Repeated` `Required`
* **is\_dormant** (bool) `Required`
* **dormant\_ttl** (int32) `Required`
* **service\_account\_count** (int32) `Required`
* **user\_count** (int32) `Required`
* **cost\_info** (WorkspaceCostInfo) `Required`
* **workspace\_group\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **trusted\_account\_id** (string) `Required`
* **created\_at** (string) `Required`
* **last\_synced\_at** (string) `Required`
* **dormant\_updated\_at** (string) `Required`
* **changed\_at** (string) `Required`

\{{< highlight json >\}} { "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" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< /tabs >\}}

\


### add\_package

> **POST** /identity/v2/workspace/add-package

\{{< tabs " add\_package " >\}}

\{{< tab "Request Example" >\}}

[WorkspacePackageRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacepackagerequest)

* **workspace\_id** (string) `Required`
* **package\_id** (string) `Required`

\{{< highlight json >\}} { "workspace\_id": "workspace-a1b2c3d4e5f6", "package\_id": "package-a1b2c3d4e5f6" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< tab "Response Example" >\}}

[WorkspaceInfo](#WORKSPACEINFO)

* **workspace\_id** (string) `Required`
* **name** (string) `Required`
* **state** (State) `Required`
* **tags** (Struct) `Required`
* **created\_by** (string) `Required`
* **references** (string) `Repeated` `Required`
* **is\_managed** (bool) `Required`
* **packages** (string) `Repeated` `Required`
* **is\_dormant** (bool) `Required`
* **dormant\_ttl** (int32) `Required`
* **service\_account\_count** (int32) `Required`
* **user\_count** (int32) `Required`
* **cost\_info** (WorkspaceCostInfo) `Required`
* **workspace\_group\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **trusted\_account\_id** (string) `Required`
* **created\_at** (string) `Required`
* **last\_synced\_at** (string) `Required`
* **dormant\_updated\_at** (string) `Required`
* **changed\_at** (string) `Required`

\{{< highlight json >\}} { "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" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< /tabs >\}}

\


### remove\_package

> **POST** /identity/v2/workspace/remove-package

\{{< tabs " remove\_package " >\}}

\{{< tab "Request Example" >\}}

[WorkspacePackageRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacepackagerequest)

* **workspace\_id** (string) `Required`
* **package\_id** (string) `Required`

\{{< highlight json >\}} { "workspace\_id": "workspace-a1b2c3d4e5f6", "package\_id": "package-a1b2c3d4e5f6" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< tab "Response Example" >\}}

[WorkspaceInfo](#WORKSPACEINFO)

* **workspace\_id** (string) `Required`
* **name** (string) `Required`
* **state** (State) `Required`
* **tags** (Struct) `Required`
* **created\_by** (string) `Required`
* **references** (string) `Repeated` `Required`
* **is\_managed** (bool) `Required`
* **packages** (string) `Repeated` `Required`
* **is\_dormant** (bool) `Required`
* **dormant\_ttl** (int32) `Required`
* **service\_account\_count** (int32) `Required`
* **user\_count** (int32) `Required`
* **cost\_info** (WorkspaceCostInfo) `Required`
* **workspace\_group\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **trusted\_account\_id** (string) `Required`
* **created\_at** (string) `Required`
* **last\_synced\_at** (string) `Required`
* **dormant\_updated\_at** (string) `Required`
* **changed\_at** (string) `Required`

\{{< highlight json >\}} { "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" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< /tabs >\}}

\


### get

> **POST** /identity/v2/workspace/get

\{{< tabs " get " >\}}

\{{< tab "Request Example" >\}}

[WorkspaceRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacerequest)

* **workspace\_id** (string) `Required`

\{{< highlight json >\}} { "workspace\_id": "workspace-a1b2c3d4e5f6" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< tab "Response Example" >\}}

[WorkspaceInfo](#WORKSPACEINFO)

* **workspace\_id** (string) `Required`
* **name** (string) `Required`
* **state** (State) `Required`
* **tags** (Struct) `Required`
* **created\_by** (string) `Required`
* **references** (string) `Repeated` `Required`
* **is\_managed** (bool) `Required`
* **packages** (string) `Repeated` `Required`
* **is\_dormant** (bool) `Required`
* **dormant\_ttl** (int32) `Required`
* **service\_account\_count** (int32) `Required`
* **user\_count** (int32) `Required`
* **cost\_info** (WorkspaceCostInfo) `Required`
* **workspace\_group\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **trusted\_account\_id** (string) `Required`
* **created\_at** (string) `Required`
* **last\_synced\_at** (string) `Required`
* **dormant\_updated\_at** (string) `Required`
* **changed\_at** (string) `Required`

\{{< highlight json >\}} { "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" } \{{< /highlight >\}} \{{< /tab >\}}

\{{< /tabs >\}}

\


### check

\


### list

> **POST** /identity/v2/workspace/list

\{{< tabs " list " >\}}

\{{< tab "Request Example" >\}}

[WorkspaceSearchQuery](https://github.com/cloudforet-io/api-doc/blob/master/content/en/identity/v2/Workspace/README.md#workspacesearchquery)

* **query** (Query)
* **workspace\_id** (string)
* **name** (string)
* **state** (State)
* **created\_by** (string)
* **is\_managed** (bool)
* **is\_dormant** (bool)
* **workspace\_group\_id** (string)

\{{< highlight json >\}} { "query": { "page": { "start": 1, "limit": 10 } } } \{{< /highlight >\}} \{{< /tab >\}}

\{{< tab "Response Example" >\}}

[WorkspacesInfo](#WORKSPACESINFO)

* **results** (WorkspaceInfo) `Repeated` `Required`
* **total\_count** (int32) `Required`

\{{< highlight json >\}} { "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 } \{{< /highlight >\}} \{{< /tab >\}}

\{{< /tabs >\}}

\


### stat

> **POST** /identity/v2/workspace/stat

\
\


## Message

### ChangeWorkspaceGroupRequest

* **workspace\_id** (string) `Required`
*   **workspace\_group\_id** (string)

    \


### CreateWorkSpaceRequest

* **name** (string) `Required`
*   **tags** (Struct) `Required`

    \


### UpdateWorkSpaceRequest

* **workspace\_id** (string) `Required`
* **name** (string)
*   **tags** (Struct)

    \


### WorkspaceCheckRequest

* **workspace\_id** (string) `Required`
*   **domain\_id** (string) `Required`

    \


### WorkspaceCostInfo

* **day** (float) `Required`
*   **month** (float) `Required`

    \


### WorkspaceDeleteRequest

* **workspace\_id** (string) `Required`
*   **force** (bool) `Required`

    \


### WorkspaceInfo

* **workspace\_id** (string) `Required`
* **name** (string) `Required`
* **state** (State) `Required`
* **tags** (Struct) `Required`
* **created\_by** (string) `Required`
* **references** (string) `Repeated` `Required`
* **is\_managed** (bool) `Required`
* **packages** (string) `Repeated` `Required`
* **is\_dormant** (bool) `Required`
* **dormant\_ttl** (int32) `Required`
* **service\_account\_count** (int32) `Required`
* **user\_count** (int32) `Required`
* **cost\_info** (WorkspaceCostInfo) `Required`
* **workspace\_group\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **trusted\_account\_id** (string) `Required`
* **created\_at** (string) `Required`
* **last\_synced\_at** (string) `Required`
* **dormant\_updated\_at** (string) `Required`
*   **changed\_at** (string) `Required`

    \


### WorkspacePackageRequest

* **workspace\_id** (string) `Required`
*   **package\_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) `Repeated` `Required`
*   **total\_count** (int32) `Required`

    \
