Menghapus kontak peringatan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:DeleteAlertDestination |
delete |
*Semua sumber daya.
|
None | None |
Sintaks permintaan
DELETE /api/v1/alertPusher/alert/deleteDestination HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| id |
integer |
No |
ID kontak peringatan. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons. |
||
| code |
string |
Kode status.
|
Success |
| data |
any |
Data yang dikembalikan. |
{} |
| message |
string |
Paket kesalahan.
|
SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict |
| requestId |
string |
ID permintaan. |
2D693121-C925-5154-8DF6-C09A8B369822 |
Contoh
Respons sukses
JSONformat
{
"code": "Success",
"data": "{}",
"message": "SysomOpenAPIException: SysomOpenAPI.InvalidParameter Invalid params, should be json string or dict",
"requestId": "2D693121-C925-5154-8DF6-C09A8B369822\n"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Sysom.ServerError | Server error, please correct the code according to the error message. %s. | |
| 400 | SysomOpenAPI.ServerError | Server error, please correct the code according to the error message. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.