更新用户组

最近更新时间:2017-12-21 21:17:58

更新用户组(UpdateGroup)

描述

请求参数

名称 类型 必填 长度限制 格式 描述
GroupName string 1-128 [\w+=,.@-]+ 用户组名称
NewGroupName string 1-128 [\w+=,.@-]+ 新的用户组

返回元素

错误码

错误码 错误信息 HTTP Status Code
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
GroupNoSuchEntity The request was rejected because it referenced 'Group' that does not exist. The error message describes the entity. 409
ServiceFailure The request processing has failed because of an unknown error, exception or failure. 500

示例

请求示例
http://10.146.16.202:8008/?Action=UpdateGroup&Version=2015-11-01&GroupName=console&NewGroupName=console1
返回示例

xml格式

<UpdateGroupResponse>
    <result>1</result>
    <ResponseMetadata>
        <RequestId>4f9e9c25-51cb-4423-ad0c-c3a679f66f33</RequestId>
    </ResponseMetadata>
</UpdateGroupResponse>

json格式

金山云,开启您的云计算之旅

注册有礼