Menghapus tugas pemantauan situs dengan memanggil operasi DeleteSiteMonitors.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DeleteSiteMonitors |
delete |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TaskIds |
string |
Yes |
ID tugas yang akan dihapus. Pisahkan beberapa ID tugas dengan koma (,). |
01adacc2-ece5-41b6-afa2-3143ab5d****,43bd1ead-514f-4524-813e-228ce091**** |
| IsDeleteAlarms |
boolean |
No |
Apakah akan menghapus aturan peringatan yang terkait dengan tugas. Nilai valid:
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
Kode status HTTP. Catatan
Nilai 200 menunjukkan keberhasilan. |
200 |
| Message |
string |
Paket yang dikembalikan. Jika permintaan berhasil, paket keberhasilan dikembalikan. Jika permintaan gagal, alasan kegagalan dikembalikan, seperti |
Request succeeded. |
| RequestId |
string |
ID permintaan. |
123BCC5D-8B63-48EA-B747-9A8995BE7AA6 |
| Success |
string |
Apakah operasi berhasil. Nilai true menunjukkan keberhasilan. Nilai false menunjukkan kegagalan. |
true |
| Data |
object |
Jumlah baris yang terpengaruh. |
|
| count |
integer |
Jumlah baris yang terpengaruh. |
0 |
Contoh
Respons sukses
JSONformat
{
"Code": "200",
"Message": "Request succeeded.",
"RequestId": "123BCC5D-8B63-48EA-B747-9A8995BE7AA6",
"Success": "true",
"Data": {
"count": 0
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidQueryParameter | %s | |
| 401 | AccessDeniedException | You donot have sufficient access to perform this action. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 402 | LimitExceeded | The quota for this customer had been reached. | |
| 403 | Forbidden | You are not authorized to operate the specified resource. | |
| 403 | UnauthorizedTasks | You are not permitted to operate the specified tasks. | |
| 206 | %s | %s | |
| 404 | %s | TaskId not found | |
| 404 | TaskNotExist | The specified task does not exist. | |
| 503 | %s | %s | |
| 406 | ExceedingQuota | Exceeding quota limits. | |
| 409 | %s | %s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.