Deletes a Resource Access Management (RAM) policy of an instance.
Operation description
- You cannot recover a deleted instance policy. Proceed with caution.
- After you delete an instance policy, the access control that is specified by the instance policy becomes invalid. Make sure that your instance is in a secure environment.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /v2/openapi/deleteinstancepolicy HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
body | object | No | The request body. | |
InstanceName | string | Yes | The name of the instance. | my-test-12345 |
PolicyVersion | long | Yes | The version of the instance policy. | 2 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "3104C83E-6E82-57FB-BB88-8C64CCFDEF89",
"Code": "200",
"Message": "success"
}
Error codes
For a list of error codes, visit the Service error codes.