Deletes a policy.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeletePolicy |
The operation that you want to perform. Set the value to DeletePolicy. |
PolicyName | String | Yes | OSS-Administrator |
The name of the policy. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 898FAB24-7509-43EE-A287-086FE4C44394 |
The ID of the request. |
Examples
Sample requests
https://ram.aliyuncs.com/?Action=DeletePolicy
&PolicyName=OSS-Administrator
&<Common request parameters>
Sample success responses
XML
format
<DeletePolicyResponse>
<RequestId>898FAB24-7509-43EE-A287-086FE4C44394</RequestId>
</DeletePolicyResponse>
JSON
format
{
"RequestId":"898FAB24-7509-43EE-A287-086FE4C44394"
}
Error codes
For a list of error codes, visit the API Error Center.