刪除工作

產品版本:10.11

最後修改日期:2024年7月31日

刪除一個工作。可選擇保留或刪除備份。

終點

https://<Director_IP_address>:4443/c/router

租戶端點

對於多租戶產品的租戶而言,終點必須為:
https://<Director_IP_address>:4443/t/<tenant_UUID>/c/router

請求範例

請求欄位

領域
類型
值(們)
action 字串

JobManagement

method 字串

remove

data 陣列 參數
type 字串 rpc
tid 整數 1

資料

領域
類型
Description
id int 待刪除的工作編號
keepPhysicalItems 布林值 true 保留該工作所提及的任何項目(例如:虛擬機器、備份等)

回應範例

回應欄位

領域
價值
Description
message 字串 若請求失敗,請顯示此訊息
where 字串 關於發生問題的方法的說明
cause 字串 故障原因
資料 Json 請求結果

data.result

字串

請求結果