Deletes a permission policy.
Operation description
Before you delete a permission policy, make sure that it is not associated with any application access points (AAPs). Otherwise, the associated applications cannot access Key Management Service (KMS).
For more information about the permissions required for a RAM user or RAM role to call this operation, see Resource Access Management.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the permission policy that you want to delete. |
policy_test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
00a26a33-d992-42f3-9012-5fd12764430f |
Examples
Success response
JSON format
{
"RequestId": "00a26a33-d992-42f3-9012-5fd12764430f"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is not valid. | An invalid value is specified for the parameter. |
| 404 | InvalidAccessKeyId.NotFound | The Access Key ID provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.