批量移除備份物件
產品版本:10.11
最後修改日期:2024年7月31日
刪除所有指定的備份物件。
終點
https://<Director_IP_address>:4443/c/router
請求範例
複製
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie cookies.txt \
--data '{
"action": "BackupManagement",
"method": "removeBackupObjects",
"data": [[1,2,3,4,5]],
"type": "rpc",
"tid": 1}'
請求欄位
|
領域 |
類型 |
值(們) |
|---|---|---|
action
|
字串 |
|
method
|
字串 |
|
data
|
陣列 |
已選中待刪除的備份物件之 ID 清單。舉例來說,若某個備份物件的 VID 為 |
type
|
字串 | rpc
|
tid
|
int | 1 |
回應範例
複製
{
"action": "BackupManagement",
"method": "removeBackupObjects",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
回應欄位
|
領域 |
價值 |
Description |
|---|---|---|
message
|
字串 | 若請求失敗,請顯示此訊息 |
where
|
字串 | 關於發生問題的方法的說明 |
cause
|
字串 | 故障原因 |
data
|
陣列 | null
|