Bulk Remove Backup Objects
Removes all specified backup objects.
Endpoint
https://<Director_IP_address>:4443/c/router
Request Example
curl
Copy
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
}"
Request Fields
Field |
Type |
Value(s) |
---|---|---|
action
|
string |
|
method
|
string |
|
data
|
array |
List of IDs of the backup objects chosen for removal. For example, if a backup object's VID is |
type
|
string | rpc
|
tid
|
int | 1 |
Response Sample
curl
Copy
{
"action": "BackupManagement",
"method": "removeBackupObjects",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
Response Fields
Field |
Value |
Description |
---|---|---|
message
|
string | Message if the request failed |
where
|
string | Reference to the method where the problem occurred |
cause
|
string | Cause of failure |
data
|
array | null
|