Deletes resources associated with a log directory. This operation is suitable for applications deployed on Alibaba Cloud Elastic Compute Service (ECS) instances or container orchestration clusters from other cloud providers.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ManageAppLog |
delete |
*Application
|
None | None |
Request syntax
DELETE /pop/v5/log/popListLogDirs HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see ListApplication. |
3616cdca-4f92-4413********** |
| Path |
string |
No |
The absolute path of the log directory that you want to remove. The value must start and end with a forward slash (
|
/temp/log/ |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The HTTP status code that is returned. |
200 |
| Message |
string |
The additional information that is returned. |
success |
| RequestId |
string |
The ID of the request. |
3616cdca-4f92-4413********** |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "success",
"RequestId": "3616cdca-4f92-4413**********"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.