DeleteProject
Deletes a specified project.
Operation description
Operation description
The host consists of the project name and the Simple Log Service endpoint. You must specify the project name in the host.
An AccessKey pair is created and obtained. For more information, see AccessKey pairs.
After a project is deleted, all log data and configuration information managed by the project are released and cannot be recovered. Proceed with caution before deleting a project to avoid data loss.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:DeleteProject |
delete |
*Project
|
|
None |
Request syntax
DELETE / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
ali-project-test |
| forceDelete |
boolean |
No |
Specifies whether to force delete the project. When this parameter is set to true, the project bypasses the recycle bin and is permanently deleted, skipping the revoke process. |
true |
Sample requests:
DELETE / HTTP/1.1 Host:ali-project-test.cn-hangzhou.log.aliyuncs.com Content-Type:application/json
Common request parameters.
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Sample responses:
HTTP/1.1 200 OK.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.