Deletes a log collection rule for an Alibaba Cloud product.
Operation description
This API can be called only from endpoints in the China (Shanghai), Singapore, and China (Heyuan) Automotive Compliance Cloud (cn-heyuan-acdr-1) regions.
Try it now
Test
RAM authorization
Request syntax
DELETE /collectionpolicy/{policyName} HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| policyName |
string |
Yes |
The name of the rule. |
your_log_policy |
| productCode |
string |
No |
The code of the product. |
oss |
| dataCode |
string |
No |
The code of the log type. |
access_log |
Response elements
|
Element |
Type |
Description |
Example |
| headers |
object |
||
| Content-Type |
string |
||
| Content-Length |
string |
||
| Connection |
string |
||
| Date |
string |
||
| Server |
string |
||
| x-log-requestid |
string |
For more information about error codes, see Manage new audit policies.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.