All Products
Search
Document Center

Simple Log Service:DeleteCollectionPolicy

Last Updated:Nov 15, 2024

Deletes a log collection policy from a cloud service.

Operation description

You must use the Simple Log Service endpoint for the China (Shanghai) or Singapore region to call the operation.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

DELETE /collectionpolicy/{policyName} HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
headersobject
Content-Typestring
Content-Lengthstring
Connectionstring
Datestring
Serverstring
x-log-requestidstring

For more information about error codes, see Manage collection rules in the new version of Log Audit Service.

Examples

Sample success responses

JSONformat

{}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-10-19The internal configuration of the API is changed, but the call is not affectedView Change Details