All Products
Search
Document Center

Simple Log Service:DeleteCollectionPolicy

Last Updated:Sep 18, 2025

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.