Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Delete Role

POST DeleteRole

Deletes the specified IAM Role in the caller's namespace or x-emc-namespace header if provided.


Query Parameters

RoleNameSimple name identifying the role.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
DeleteRoleResponse
ResponseMetadata    
RequestId String

Examples

Request
POST https://192.168.0.0:4443/iam?RoleName=FinanceRole&Action=DeleteRole
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:DeleteRoleResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:d43f:0</RequestId>
    </ResponseMetadata>
</ns2:DeleteRoleResponse>