Menghapus cron job PolarClaw.
Deskripsi operasi
Description
To delete a PolarClaw cron job, provide its ApplicationId and JobId. Ensure that the IDs are correct to prevent accidental deletion of other jobs.
Note: This operation is irreversible. Proceed with caution.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
ID aplikasi. |
pa-************** |
| JobId |
string |
Yes |
ID cron job yang akan dihapus. |
0ee00f56-f467-4d41-858c-ca4ede2c770e |
| Restart |
boolean |
No |
Apakah akan memulai ulang gerbang setelah cron job dihapus. Nilai default: true. |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
2281C6C9-CBAB-1AFD-8400-670750CF6025_2212 |
| Message |
string |
The response message. |
successful |
| Code |
integer |
The status code. |
200 |
| ApplicationId |
string |
The application ID. |
pa-************** |
| Ok |
boolean |
Indicates whether the operation was successful. |
true |
| JobId |
string |
The ID of the deleted cron job. |
8006e51c-dab3-4602-bc69-4f728002c6ce |
| Removed |
boolean |
Indicates whether a matching cron job was found and deleted. |
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "2281C6C9-CBAB-1AFD-8400-670750CF6025_2212",
"Message": "successful",
"Code": 200,
"ApplicationId": "pa-**************",
"Ok": true,
"JobId": "8006e51c-dab3-4602-bc69-4f728002c6ce",
"Removed": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.