Deletes an access control policy for agent storage.
Operation description
After an agent storage policy is deleted, it cannot be recovered. Proceed with caution.
After an agent storage policy is deleted, the corresponding permission controls become ineffective. Make sure the agent storage is in a secure environment.
Try it now
Test
RAM authorization
Request syntax
POST /v2/openapi/deleteagentstoragepolicy HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body parameters. |
|
| AgentStorageName |
string |
Yes |
The name of the agent storage. |
first-agent |
| PolicyVersion |
integer |
Yes |
The version of the access control policy for agent storage. |
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| RequestId |
string |
The request ID, which can be used for troubleshooting. |
39871ED2-62C0-578F-A32E-B88072D5582F |
| Code |
string |
The response status code. |
200 |
| Message |
string |
The response message. |
success |
Examples
Success response
JSON format
{
"RequestId": "39871ED2-62C0-578F-A32E-B88072D5582F",
"Code": "200",
"Message": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.