角色解绑策略

所属服务

sam

接口方法

GET

请求url

/sam?Action=DetachRolePolicy&Version=2018-03-22&RoleName=&PolicyType=&PolicyName=

url 参数

参数名称说明参数类型是否必填备注
RoleName角色名称string
PolicyType策略类型string
PolicyName策略名称string
ActionDetachRolePolicystring
Version2018-03-22string

返回参数

参数名称说明参数类型是否必填备注
CodeCodestring
MessageMessagestring

状态码

错误码(Code)错误提示(Message)http status code说明
ProductNotActiveSam product is not activate.400访问控制产品未激活
MissingParameterThe required input parameter %s for processing this request is not supplied.400缺少%s参数
EntityNotFoundThe request entity is already exist.400查询对象不存在

请求示例

https://open.cn-east-1.163yun.com/sam?Action=DetachRolePolicy&Version=2018-03-22&RoleName=roletest&PolicyType=Custom&PolicyName=Policytest

返回示例

{
	"Message": "调用成功",
	"RequestId": "bf48ce9c-7e76-401e-a30a-16346fa46cfd",
	"Code": "Success"
}