Deletes a project.
Operation description
Before you delete a project, make sure that all resources in the project, such as datasets, bindings, batch processing tasks, and triggers, are deleted. For more information, see DeleteDataset, DeleteBatch, and DeleteTrigger.
After a project is deleted, all resources used by the project are recycled, and all related data is lost and cannot be recovered.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:DeleteProject |
delete |
*Project
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The name of the project. For more information, see Create a project. |
immtest |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The request ID. |
FEDC9B1F-30F2-4C1F-8ED2-B7860187**** |
Examples
Success response
JSON format
{
"RequestId": "FEDC9B1F-30F2-4C1F-8ED2-B7860187****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | StatusConflict | Message: cannot delete when sub resoures exist |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.