Removes the specified managed policy from the specified IAM Role in the caller's namespace or x-emc-namespace header if provided.
PolicyArn | Arn that identifies the policy. |
RoleName | Simple name identifying the role. |
This call has no restrictions.
No Request Payload
Field | Description | Type | Notes |
DetachRolePolicyResponse | |||
ResponseMetadata | |||
RequestId | String |
POST https://192.168.0.0:4443/iam?RoleName=FinanceRole&PolicyArn=urn:ecs:iam:::policy/ECSS3FullAccess&Action=DetachRolePolicy Accept: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN> x-emc-namespace: <namespace>
HTTP/1.1 200 OK <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns2:DetachRolePolicyResponse xmlns:ns2="none"> <ResponseMetadata> <RequestId>0af9f5b8:17178fe9282:d70a:61</RequestId> </ResponseMetadata> </ns2:DetachRolePolicyResponse>