Menghentikan RayJob.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
POST /api/v1/workspaces/{workspaceId}/rayJob/{submissionId}/cancel HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspaceId |
string |
No |
ID ruang kerja. |
w-d2d82aa09155 |
| submissionId |
string |
No |
ID RayJob. |
rj-k7nm8ahl5te4tg91 |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema tanggapan. |
||
| requestId |
string |
ID permintaan. |
DD6B1B2A-5837-5237-ABE4-FF0C8944 |
| success |
boolean |
Apakah pembatalan berhasil dipicu. |
true. |
Contoh
Respons sukses
JSONformat
{
"requestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944",
"success": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.