Dell Technologies ECS REST API

Search (SHIFT+S)




Delete Role Policy

POST /iam?Action=DeleteRolePolicy

Deletes the specified inline policy that is embedded in the specified IAM role in the caller's namespace or x-emc-namespace header if provided.


Query Parameters

RoleNameSimple name identifying the role.
PolicyNameSimple name identifying the policy.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
DeleteRolePolicyResponse
ResponseMetadata    
RequestId String

Examples

Request
POST https://192.168.0.0:4443/iam?RoleName=FinanceRole&PolicyName=InlineRolePolicy&Action=DeleteRolePolicy

Accept: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>
Response
HTTP/1.1 200 OK

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:DeleteRolePolicyResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:e004:ba</RequestId>
    </ResponseMetadata>
</ns2:DeleteRolePolicyResponse>