Delete the log Directory. This command is applicable to applications running on ECS instances.

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 header

This operation only uses common request headers. For more information, see the Common request parameters topic.

Request syntax

DELETE /pop/v5/log/popListLogDirs HTTPS|HTTP

Request parameters

Parameter Type Required Example Description 
AppId String Yes 3616cdca-4f92-4413**********

The ID of the application that you want to start. You can call the ListApplication operation to query the application ID.

Path String No /temp/log/

The absolute path of the logs of the application you want to remove from your favorites. The application log path must start and end with a forward slash (/), and must contain a forward slash (/) or slash (/logs). The following EDAS default directory is "/home/admin/edas-container/logs/", "/home/admin/taobao-tomcat-7.0.59/logs/", "/home/admin/taobao-tomcat-production-7.0.70/logs/", "/home/admin/edas-agent/logs/" Do not use this api to delete logs.

Response parameters

Parameter Type Example Description 
Code String 200

code

Message String success

The returned message.

RequestId String 3616cdca-4f92-4413**********

The unique Id of the request.

Examples

Sample requests

DELETE /pop/v5/log/popListLogDirs HTTP/1.1
Common request header
{
"AppId": "3616cdca-4f92-4413**********"
}

Sample success responses

XML format

<Message>success</Message>
<RequestId>3616cdca-4f92-4413**********</RequestId>
<Code>200</Code>

JSON format

{
	"Message": "success",
	"RequestId": "3616cdca-4f92-4413**********",
	"Code": 200
}

Error codes

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