Deletes projects in batches.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the bastion host instance. Note
You can call the DescribeInstances operation to obtain the bastion host instance ID. |
bastionhost-cn-st220aw**** |
| RegionId |
string |
No |
The region ID of the bastion host. Note
For the mapping between region IDs and region names, see Regions and zones. |
cn-hangzhou |
| ProjectIds |
string |
Yes |
The IDs of the projects that you want to delete. Note
You can call the ListProjects operation to obtain this parameter. |
[1,2] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Results |
array<object> |
The call results of the operation. |
|
|
object |
The result of the operation call. |
||
| ProjectId |
string |
The project ID. |
2 |
| Code |
string |
The error code. |
200 |
| Message |
string |
The error message. |
success |
| RequestId |
string |
The unique identifier that Alibaba Cloud generated for the request. |
EC9BF0F4-8983-491A-BC8C-1B4DD94976DE |
Examples
Success response
JSON format
{
"Results": [
{
"ProjectId": "2",
"Code": "200",
"Message": "success"
}
],
"RequestId": "EC9BF0F4-8983-491A-BC8C-1B4DD94976DE"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.