基本信息

Action

CreateGroupRoles

Path

/iaas

Method

GET

请求参数

此接口除公共参数外,还包含以下参数。关于公共参数的更多信息,请参见前文内容

参数名 类型 描述 是否必须

role_type

String

角色类型。当前仅支持 rule

group_role_name

String

角色名称。

description

String

角色描述

count

Integer

一次创建的角色数量。

请求示例

https://api.<your_domain>/iaas/?action=CreateGroupRoles
&group_role_name=T1
&COMMON_PARAMS

返回示例

{
  "action":"CreateGroupRolesResponse",
  "group_role_ids":[
    "gr-rlj5c72r"
  ],
  "ret_code":0
}