从用户组分离策略

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

从用户组分离策略(DetachGroupPolicy)

描述

请求参数

名称 类型 必填 长度限制 格式 描述
GroupName string 1-128 [\w+=,.@-]+ 用户组名
PolicyKrn string 20-2048 krn:ksc:iam::12345678:policy/policy-name 权限的krn,系统权限或用户自身权限

返回元素

错误码

错误码 错误信息 HTTP Status Code
InvalidInput The request was rejected because an invalid or out-of-range value was supplied for an input parameter. 400
LimitExceeded The request was rejected because it attempted to create resources beyond the current KSC account limits. The error message describes the limit exceeded. 409
NoSuchEntity The request was rejected because it referenced an entity that does not exist. The error message describes the entity. 404
ServiceFailure The request processing has failed because of an unknown error, exception or failure. 500

示例

请求示例
http://10.146.16.202:8008/?Action=DetachGroupPolicy&Version=2015-11-01&GroupName=admin&PolicyKrn=krn:ksc:iam::ksc:policy/AdministratorAccess
返回示例

xml格式

<DetachGroupPolicyResponse>
    <result>1</result>
    <ResponseMetadata>
        <RequestId>05d719ab-6c70-4cc8-88c2-1724381ffaea</RequestId>
    </ResponseMetadata>
</DetachGroupPolicyResponse>

json格式

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

注册有礼