Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Delete Policy Version

POST DeletePolicyVersion

Deletes the specified version from the specified managed policy.


Query Parameters

PolicyArnARN of the IAM Managed policy to delete.
VersionIdThe policy version to delete.

Required Roles

This call has no restrictions.


Request Payload

No Request Payload


Response Body

Field Description Type Notes
DeletePolicyVersionResponse
ResponseMetadata    
RequestId String

Examples

Request
POST https://192.168.0.0:4443/iam?PolicyArn=urn:ecs:iam::ns:policy/FinanceTeamPolicy&Action=DeletePolicyVersion&VersionId=v1

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:DeletePolicyVersionResponse xmlns:ns2="none">
    <ResponseMetadata>
        <RequestId>0af9f5b8:17178fe9282:10728:b</RequestId>
    </ResponseMetadata>
</ns2:DeletePolicyVersionResponse>