云桌面 WORKSPACE-查询用户组列表:响应示例

时间:2024-12-12 19:34:18

响应示例

状态码: 200

查询用户组响应。

{
  "total_count" : 2,
  "user_groups" : [ {
    "id" : "99558194716db7d601719f9b61850042",
    "sid" : "99558194716db7d601719f9b61850042",
    "name" : "group1",
    "realm_id" : "695581943266db7a601719f9e61850058",
    "domian" : "local.com",
    "description" : "for test",
    "platform_type" : "LOCAL",
    "create_time" : "2023-02-15T02:27:05.000Z",
    "user_quantity" : 10
  }, {
    "id" : "99558194716db7d601719f9b61850000",
    "sid" : "99558194716db7d601719f9b61850000",
    "name" : "group2",
    "realm_id" : "453381943266db7a601719f9e61850044",
    "domian" : "local.com",
    "description" : "for test2",
    "platform_type" : "LOCAL",
    "create_time" : "2023-01-16T02:27:05.000Z",
    "user_quantity" : 20
  } ]
}
support.huaweicloud.com/api-workspace/ListUserGroups.html