Deletes real-time logs of a project.

Note The maximum number of times that each user can call this operation per second is 100.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteDcdnRealTimeLogProject

The operation that you want to perform. Set the value to DeleteDcdnRealTimeLogProject.

ProjectName String Yes example

The name of a real-time log delivery project.

BusinessType String No cdn_log_access_l1

The type of the collected logs. Default value: cdn_log_access_l1. Valid values:

  • cdn_log_access_l1: access logs of L1 Dynamic Route for CDN (DCDN) nodes
  • cdn_log_origin: back-to-origin logs
  • cdn_log_er: EdgeRoutine logs

Response parameters

Parameter Type Example Description
RequestId String 9732E117-8A37-49FD-A36F-ABBB87556CA7

The ID of the request.

Examples

Sample requests

https://dcdn.aliyuncs.com?Action=DeleteDcdnRealTimeLogProject&Project=example
&<Common request parameters>

Sample success responses

XML format

<DeleteDcdnRealTimeLogProjectResponse>
  <RequestId>9732E117-8A37-49FD-A36F-ABBB87556CA7</RequestId>
</DeleteDcdnRealTimeLogProjectResponse>

JSON format

{
    "RequestId": "9732E117-8A37-49FD-A36F-ABBB87556CA7"
}

Error codes

HttpCode Error code Error message Description
400 Unauthorized RealtimeLogDelivery service is not authorized. The error message returned because you are not authorized to use real-time log delivery.

For a list of error codes, visit the API Error Center.