参数名称 | 类型 | 必填 | 描述 |
---|
Action | String | 是 | 公共参数,本接口取值:CreateGroup。 |
Version | String | 是 | 公共参数,本接口取值:2015-11-01。 |
GroupName | String | 是 | 用户组名称 |
Description | String | 否 | 用户组描述,1-64字符 |
参数名称 | 类型 | 描述 |
---|
CreateGroupResult | Object | |
Group | Object | |
GroupId | String | 用户组UUID 示例值:9b5JV0eZSIC_tAEvntpCWA |
Path | String | 示例值:/ |
GroupName | String | 用户组名称 示例值:test_group |
Description | String | 用户组描述 |
CreateDate | String | 示例值:2021-11-22T08:53:30Z |
Krn | String | 用户组krn 示例值:krn:ksc:iam::2000143391:group/test_group |
RequestId | String | 示例值:413b4696-b713-4bc6-b303-a1e615b18484 |
JSON格式
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码
错误码 | 错误信息 | Http状态码 | 描述 |
---|
GroupNameInvalidParameterValue | An invalid or out-of-range value was supplied for the ‘GroupName’ parameter. | 400 | |
GroupDescInvalidParameterValue | An invalid or out-of-range value was supplied for the ‘Description’ parameter. | 400 | |
GroupLimitExceeded | The request was rejected because it attempted to create user group beyond the current KSC account limits. The error message describes the limit exceeded. | 409 | |
GroupAlreadyExists | The request was rejected because it attempted to create a group that already exists. | 409 |
纯净模式