ProjectGroup
Last updated
Last updated
Package : spaceone.api.identity.v2
ProjectGroup Methods:
Method | Request | Response |
---|---|---|
POST /identity/v2/project-group/create
{{< tabs " create " >}}
{{< tab "Request Example" >}}
name (string) Required
tags (Struct)
parent_group_id (string)
{{< highlight json >}} { "name": "Cloudforet Company", "tags": { } } {{< /highlight >}} {{< /tab >}}
{{< tab "Response Example" >}}
project_group_id (string) Required
name (string) Required
tags (Struct) Required
users (string) Repeated
Required
reference_id (string) Required
is_managed (bool) Required
domain_id (string) Required
workspace_id (string) Required
parent_group_id (string) Required
trusted_account_id (string) Required
created_at (string) Required
last_synced_at (string) Required
{{< highlight json >}} { "project_group_id": "pg-7120aabb662c", "name": "Cloudforet Core Team", "tags": {}, "domain_id": "domain-186446b1516b", "workspace_id": "workspace-1a02ebcb3eb2", "parent_group_id": "pg-10efea238292", "created_at": "2024-07-12T03:31:02.222Z" } {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
POST /identity/v2/project-group/update
{{< tabs " update " >}}
{{< tab "Request Example" >}}
project_group_id (string) Required
name (string)
tags (Struct)
{{< highlight json >}} { "project_group_id": "pg-7120aabb662c", "name": "Cloudforet Core Team" } {{< /highlight >}} {{< /tab >}}
{{< tab "Response Example" >}}
project_group_id (string) Required
name (string) Required
tags (Struct) Required
users (string) Repeated
Required
reference_id (string) Required
is_managed (bool) Required
domain_id (string) Required
workspace_id (string) Required
parent_group_id (string) Required
trusted_account_id (string) Required
created_at (string) Required
last_synced_at (string) Required
{{< highlight json >}} { "project_group_id": "pg-7120aabb662c", "name": "Cloudforet Core Team", "tags": {}, "domain_id": "domain-186446b1516b", "workspace_id": "workspace-1a02ebcb3eb2", "parent_group_id": "pg-10efea238292", "created_at": "2024-07-12T03:31:02.222Z" } {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
POST /identity/v2/project-group/change-parent-group
{{< tabs " change_parent_group " >}}
{{< tab "Request Example" >}}
project_group_id (string) Required
parent_group_id (string) Required
{{< highlight json >}} { "project_group_id": "pg-7120aabb662c", "parent_group_id": "pg-10efea238292" } {{< /highlight >}} {{< /tab >}}
{{< tab "Response Example" >}}
project_group_id (string) Required
name (string) Required
tags (Struct) Required
users (string) Repeated
Required
reference_id (string) Required
is_managed (bool) Required
domain_id (string) Required
workspace_id (string) Required
parent_group_id (string) Required
trusted_account_id (string) Required
created_at (string) Required
last_synced_at (string) Required
{{< highlight json >}} { "project_group_id": "pg-7120aabb662c", "name": "Cloudforet Core Team", "tags": {}, "domain_id": "domain-186446b1516b", "workspace_id": "workspace-1a02ebcb3eb2", "parent_group_id": "pg-10efea238292", "created_at": "2024-07-12T03:31:02.222Z" } {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
POST /identity/v2/project-group/delete
{{< tabs " delete " >}}
{{< tab "Request Example" >}}
project_group_id (string) Required
{{< highlight json >}} { "project_group_id": "pg-7120aabb662c" } {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
POST /identity/v2/project-group/add-users
{{< tabs " add_users " >}}
{{< tab "Request Example" >}}
project_group_id (string) Required
users (string) Repeated
Required
{{< highlight json >}} { "project_group_id": "pg-7120aabb662c", "users": ["wonny@cloudforet.io", "bolby@cloudforet.io"] } {{< /highlight >}} {{< /tab >}}
{{< tab "Response Example" >}}
project_group_id (string) Required
name (string) Required
tags (Struct) Required
users (string) Repeated
Required
reference_id (string) Required
is_managed (bool) Required
domain_id (string) Required
workspace_id (string) Required
parent_group_id (string) Required
trusted_account_id (string) Required
created_at (string) Required
last_synced_at (string) Required
{{< highlight json >}} { "project_group_id": "pg-7120aabb662c", "name": "Cloudforet Core Team", "tags": {}, "domain_id": "domain-186446b1516b", "workspace_id": "workspace-1a02ebcb3eb2", "parent_group_id": "pg-10efea238292", "created_at": "2024-07-12T03:31:02.222Z" } {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
POST /identity/v2/project-group/remove-users
{{< tabs " remove_users " >}}
{{< tab "Request Example" >}}
project_group_id (string) Required
users (string) Repeated
Required
{{< highlight json >}} { "project_group_id": "pg-7120aabb662c", "users": ["wonny@cloudforet.io", "bolby@cloudforet.io"] } {{< /highlight >}} {{< /tab >}}
{{< tab "Response Example" >}}
project_group_id (string) Required
name (string) Required
tags (Struct) Required
users (string) Repeated
Required
reference_id (string) Required
is_managed (bool) Required
domain_id (string) Required
workspace_id (string) Required
parent_group_id (string) Required
trusted_account_id (string) Required
created_at (string) Required
last_synced_at (string) Required
{{< highlight json >}} { "project_group_id": "pg-7120aabb662c", "name": "Cloudforet Core Team", "tags": {}, "domain_id": "domain-186446b1516b", "workspace_id": "workspace-1a02ebcb3eb2", "parent_group_id": "pg-10efea238292", "created_at": "2024-07-12T03:31:02.222Z" } {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
POST /identity/v2/project-group/get
{{< tabs " get " >}}
{{< tab "Request Example" >}}
project_group_id (string) Required
{{< highlight json >}} { "project_group_id": "pg-7120aabb662c" } {{< /highlight >}} {{< /tab >}}
{{< tab "Response Example" >}}
project_group_id (string) Required
name (string) Required
tags (Struct) Required
users (string) Repeated
Required
reference_id (string) Required
is_managed (bool) Required
domain_id (string) Required
workspace_id (string) Required
parent_group_id (string) Required
trusted_account_id (string) Required
created_at (string) Required
last_synced_at (string) Required
{{< highlight json >}} { "project_group_id": "pg-7120aabb662c", "name": "Cloudforet Core Team", "tags": {}, "domain_id": "domain-186446b1516b", "workspace_id": "workspace-1a02ebcb3eb2", "parent_group_id": "pg-10efea238292", "created_at": "2024-07-12T03:31:02.222Z" } {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
POST /identity/v2/project-group/list
{{< tabs " list " >}}
{{< tab "Request Example" >}}
query (Query)
project_group_id (string)
name (string)
workspace_id (string)
parent_group_id (string)
{{< highlight json >}} { "query": { "page": { "start":1, "limit":10 } } } {{< /highlight >}} {{< /tab >}}
{{< tab "Response Example" >}}
results (ProjectGroupInfo) Repeated
Required
total_count (int32) Required
{{< highlight json >}} { "results": [ { "project_group_id": "pg-7120aabb662c", "name": "Cloudforet Core Team", "tags": {}, "domain_id": "domain-186446b1516b", "workspace_id": "workspace-1a02ebcb3eb2", "parent_group_id": "pg-10efea238292", "created_at": "2024-07-12T03:31:02.222Z" } ], "total_count": 1 } {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
POST /identity/v2/project-group/stat
project_group_id (string) Required
parent_group_id (string) Required
name (string) Required
tags (Struct)
parent_group_id (string)
project_group_id (string) Required
name (string) Required
tags (Struct) Required
users (string) Repeated
Required
reference_id (string) Required
is_managed (bool) Required
domain_id (string) Required
workspace_id (string) Required
parent_group_id (string) Required
trusted_account_id (string) Required
created_at (string) Required
last_synced_at (string) Required
project_group_id (string) Required
query (Query)
project_group_id (string)
name (string)
workspace_id (string)
parent_group_id (string)
query (StatisticsQuery) Required
results (ProjectGroupInfo) Repeated
Required
total_count (int32) Required
project_group_id (string) Required
name (string)
tags (Struct)
project_group_id (string) Required
users (string) Repeated
Required