Create backup deletion items preview
Create a backup deletion items preview and returns the taskId for each item
Path Parameters
- backup_deletion_id string required
Creates backup deletion items preview with the specified backup deletion ID.
- application/json
Request Body required
- item_ids string[]
The backup deletion items to preview. Required when should_preview_all is false, and must be omitted when it is true.
- should_preview_all boolean required
Set to true to preview every item under the specified backup deletion ID. Set to false to preview only the items listed in item_ids.
Responses
- 202
- default
Success
- application/api.clumio.backup-deletion=v1+json
- Schema
- Example (from schema)
Schema
preview_tasks object[]
The preview tasks created, one per backup deletion item.
backup_deletion_item_id stringThe ID for the backup deletion item
task_id stringThe ID of the task created to compute the item's preview
- total_count int64
The total number of backup deletion items previewed.
{
"preview_tasks": [
{
"backup_deletion_item_id": "string",
"task_id": "string"
}
],
"total_count": 0
}
Error
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
A list of errors encountered during runtime.
error_code uint32error_message stringThe reason for the error.
{
"errors": [
{
"error_code": 0,
"error_message": "string"
}
]
}
Loading...