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 configurations managed by the project are released and cannot be recovered. Proceed with caution before you delete 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. If this parameter is set to true, the project bypasses revoke and is permanently deleted. |
true |
Sample request:
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 response:
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.