Menghapus task inspeksi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nis:DeleteNisInspectionTask |
delete |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InspectionTaskId |
string |
Yes |
ID dari task inspeksi. |
ni-209d****wfirfwc2yl |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
RpcResponse |
||
| RequestId |
string |
ID dari permintaan. |
A7F0D6EC-E19E-58AC-AC9F-08036763960F |
| Data |
boolean |
Hasil penghapusan. |
True |
Contoh
Respons sukses
JSONformat
{
"RequestId": "A7F0D6EC-E19E-58AC-AC9F-08036763960F",
"Data": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectStatus.InspectionTaskNotInactive | The specified task InspectionTaskId(%s) is not closed and cannot be deleted. | |
| 404 | ResourceNotFound.InspectionTaskId | The specified InspectionTaskId(%s) is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.