- About Veeam Backup & Replication REST API
- Overview
- How To
- Changelog
- Global Changes
- New Features
- Users and Roles
- Malware Detection
- High Availability Cluster
- Bare Metal Recovery and Volume Restore
- Backup Move and Copy
- Unstructured Data
- Microsoft Entra ID
- Deduplication Appliance Repositories
- Veeam Data Cloud Vault Archive
- Instant Recovery to Microsoft Azure
- Instant Recovery to Another Platform
- Quick Backup
- Proxmox VE and Nutanix AHV
- General Options
- Inventory Browser
- Agent Management
- Backup Browser
- Application Items Restore
- Deprecated Requests
- Minor Non-Breaking Changes
- Breaking Changes
- Login
- Service
- Services
- Credentials
- getGet All Credentials
- postAdd Credentials Record
- getGet Credentials Record
- putEdit Credentials Record
- delRemove Credentials Record
- postChange Password
- postChange Linux Private Key
- postChange Linux Root Password
- getGet All Cloud Credentials
- postAdd Cloud Credentials Record
- postGet Microsoft Entra ID Verification Code
- postRegister Microsoft Entra ID Application
- postGet Google Authentication Information
- getGet Cloud Credentials Record
- putEdit Cloud Credentials Record
- delRemove Cloud Credentials Record
- postChange Secret Key
- postChange Google Service Account
- postChange Certificate
- getGet All Helper Appliances
- postAdd or Edit Helper Appliance
- getGet Helper Appliance
- delRemove Helper Appliance
- Encryption
- getGet All Encryption Passwords
- postAdd Encryption Password
- getGet Encryption Password
- putEdit Encryption Password Hint
- delRemove Encryption Password
- postChange Encryption Password
- postVerify Encryption Password
- getGet All KMS Servers
- postAdd KMS Server
- getGet KMS Server
- putEdit KMS Server
- delRemove KMS Server
- postChange KMS Server Certificate
- License
- postInstall License
- getGet Installed License
- postRemove License
- postCreate License Usage Report
- postRenew Installed License
- getGet Consumption of Socket Licenses
- postRevoke Socket License
- getGet Instance Licenses Consumption
- postAssign Instance License
- postRevoke Instance License
- postRemove Instance License
- getGet Capacity License Consumption
- postRevoke Capacity License from Unstructured Data Workload
- postUpdate License
- postEnable or Disable License Auto Update
- postEnable or Disable Instance Consumption for Unlicensed Agents
- Connection
- Cloud Browser
- Inventory Browser
- getGet All VMware vSphere Servers
- getGet VMware vSphere Server Objects
- postRescan Inventory Objects
- postGet All Servers
- postGet Inventory Objects
- postGet Inventory Object Details
- postGet All Protection Groups
- postGet All Physical Inventory
- postGet Inventory Objects for Specific Protection Group
- getGet All Unstructured Data Servers
- postAdd Unstructured Data Servers
- getGet Unstructured Data Server Defaults
- getGet Unstructured Data Server
- putEdit Unstructured Data Server
- delRemove Unstructured Data Server
- postStart Browsing Unstructured Data Server
- postBrowse Unstructured Data Server
- postStop Browsing Unstructured Data Server
- getGet All Unstructured Data Server Inventory Browse Sessions
- getGet Unstructured Data Server Inventory Browse Session
- getGet All Microsoft Entra ID Tenants
- postAdd Microsoft Entra ID Tenant
- getGet Microsoft Entra ID Tenant
- putEdit Microsoft Entra ID Tenant
- delRemove Microsoft Entra ID Tenant
- getGet Active Directory Objects from Domain
- getGet Available Disk Slots for Platform
- Traffic Rules
- General Options
- getGet General Options
- putEdit General Options
- getGet Email Settings
- putEdit Email Settings
- postSend Test Email
- postCheck SMTP Server Certificate
- getGet Host Authentication Settings
- putEdit Host Authentication Settings
- postExport Trusted Hosts List to a File
- postImport Trusted Hosts List from a File
- getGet Notification Settings
- putEdit Notification Settings
- getGet Event Forwarding Settings
- putEdit Event Forwarding Settings
- getGet Storage Latency Settings
- putEdit Storage Latency Settings
- postAdd Latency Settings for Specific Datastore
- getGet Latency Settings for Specific Datastore
- putEdit Latency Settings for Specific Datastore
- delRemove Latency Settings for Specific Datastore
- getGet VSA Event Forwarding Settings
- putEdit VSA Event Forwarding Settings
- getGet Daemon Settings for VSA Event Forwarding
- putEdit Daemon Settings for VSA Event Forwarding
- getGet Node Exporter Settings
- putUpdate Node Exporter Settings
- postSet Node Exporter Basic Authentication
- Users and Roles
- getGet All Users and Groups
- postAdd User or Group
- getGet User or Group
- delRemove User or Group
- getGet Roles Assigned to User or Group
- putEdit Roles Assigned to User or Group
- postChange Service Account Mode
- postReset MFA for Specific User
- getGet All Roles
- postCreate Custom Role
- getGet Role
- putEdit Custom Role
- delDelete Custom Role
- getGet Role Permissions
- getGet Custom Role Details
- postClone Custom Role
- getGet MFA Settings
- putEdit MFA Settings
- getGet All Restore Options
- ACL
- Global Exclusions
- Security
- postStart Security & Compliance Analyzer
- getGet Security & Compliance Analyzer Last Run
- getGet Security & Compliance Analyzer Schedule
- putModify Security & Compliance Analyzer Schedule
- postReset All Security & Compliance Analyzer Statuses
- getGet Security & Compliance Analyzer Results
- postSuppress Security & Compliance Analyzer Best Practice Status
- postReset Security & Compliance Analyzer Status
- getGet All Authorization Events
- getGet Authorization Event
- Malware Detection
- getGet All Malware Events
- postCreate Malware Event
- getGet Malware Event
- getGet All Malware Detection Settings
- putEdit Malware Detection Settings
- getGet Malware Suspicious File Masks Settings
- putEdit Malware Suspicious File Masks Settings
- getGet Malware Allowed Trusted Extensions
- getGet Malware File Detection Indicators of Compromise
- postEnable Monitoring of Indicators of Compromise
- postDisable Monitoring of Indicators of Compromise
- getGet Logs for SureBackup Scan Task Session
- postMark Backup Objects as Clean
- getGet All Malware Detection Objects
- getGet Malware Detection Object
- getGet All Malware Detection Exclusions
- postCreate or Update Malware Detection Exclusions
- postDelete Malware Detection Exclusions
- getGet YARA Rules
- postScan Backups with Antivirus or YARA Rules
- postStart Malware Encryption Analysis
- getDownload Malware Encryption Analysis Logs
- Configuration Backup
- Deployment
- Managed Servers
- getGet All Servers
- postAdd Server
- postGet vCenter Servers Attached to Cloud Director Server
- postGet Microsoft Hyper-V Servers Managed by Microsoft Hyper-V Cluster or SCVMM Server
- getGet Server
- putEdit Server
- delRemove Server
- postChange to Single-Use Credentials
- getGet Volumes for Microsoft Hyper-V Standalone Server
- putEdit Volumes on Microsoft Hyper-V Standalone Server
- postRescan All Managed Servers
- postRescan Managed Server
- getDefault Set of Optional Managed Server Components
- postUpdate Managed Server Components
- Repositories
- getGet All Repositories
- postAdd Repository
- postRescan Repositories
- getGet All Repository States
- getGet Repository
- putEdit Repository
- delRemove Repository
- getGet Repository Access Permissions
- putEdit Repository Access Permissions
- getGet All Scale-Out Backup Repositories
- postAdd Scale-Out Backup Repository
- getGet Scale-Out Backup Repository
- putEdit Scale-Out Backup Repository
- delRemove Scale-Out Backup Repository
- postEnable Sealed Mode
- postDisable Sealed Mode
- postEnable Maintenance Mode
- postDisable Maintenance Mode
- Mount Servers
- Proxies
- WAN Accelerators
- Helper Appliance Templates
- High Availability (HA) Cluster
- Jobs
- getGet All Jobs
- postCreate Job
- getGet All Job States
- getGet Job
- putEdit Job
- delDelete Job
- postStart Job
- postStop Job
- postRetry Job
- postDisable Job
- postEnable Job
- postApply Backup Policy Configuration
- postClear Backup Cache
- postClone Job
- postStart Quick Backup for VMware vSphere or VMware Cloud Director VM
- postStart Quick Backup for Hyper-V VM
- postStart Quick Backup for Agent-Managed Machine
- Backups
- getGet All Backups
- getGet Backup
- delDelete Backup
- postView Backup Details
- getGet Backup Objects
- delDelete Backup Object
- postDownload Backup Metadata
- getGet All Backup Files
- getGet Backup File
- postMark Backup File as Clean
- postMark Backup File as Infected
- postRun Health Check and Repair
- postCopy Backups to Another Repository
- postCopy Machine Backups to Another Repository or Folder
- postMove Backup to Another Repository
- postMove Backup Objects to Another Job
- getGet Move/Copy Backup Sessions Awaiting Action
- postManage a Move/Copy Backup Session Awaiting Action
- Backup Objects
- Restore Points
- Restore
- postRestore Entire File Share
- postRestore Entire Object Storage Bucket or Container
- getGet All Mount Points for Instant File Share Recovery
- postStart Instant File Share Recovery
- getGet Mount Point for Instant File Share Recovery
- postStop File Share Publishing
- postStart File Share Migration
- postStart File Share Switchover
- getGet File Share Switchover Settings
- putUpdate File Share Switchover Settings
- postStart File Restore from Unstructured Data Backup
- postUnmount Unstructured Data FLR Volumes
- postProlong a Retrieval Operation from Cold Object Storage
- getGet Cold Object Storage Retrieval Operations
- getGet All Mount Points for Instant Recovery to VMware vSphere
- postStart Instant Recovery to VMware vSphere
- getGet Mount Point for Instant Recovery to VMware vSphere
- postStop Publishing Machine to VMware vSphere
- postStart Migrating Machine to VMware vSphere
- getGet All Mount Points for Instant Recovery to Microsoft Hyper-V
- postStart Instant Recovery to Microsoft Hyper-V
- getGet Mount Point for Instant Recovery to Microsoft Hyper-V
- postStop Publishing Machine to Microsoft Hyper-V
- postStart Migrating Machine to Microsoft Hyper-V
- getGet All Mount Points for Instant Recovery to Microsoft Azure
- postStart Instant Recovery to Microsoft Azure
- getGet Mount Point for Instant Recovery to Microsoft Azure
- getGet All Mount Sessions for Instant Recovery to Microsoft Azure
- postStop Publishing Machine to Microsoft Azure
- postStart Migrating Machine to Microsoft Azure
- getGet Settings for Switchover to Microsoft Azure
- putUpdate Settings for Switchover to Microsoft Azure
- postStart Switchover to Microsoft Azure
- postRestore Entire VMware vSphere VM
- postRestore Entire VMware Cloud Director VM
- postRestore Entire Microsoft Hyper-V VM
- getGet All FCD Mount Points
- postStart Instant FCD Recovery
- getGet FCD Mount Point
- postStop FCD Publishing
- postStart FCD Migration
- postStart File Restore
- postUnmount File System
- postGet User Code for Delegated Restore of Microsoft Entra ID Items
- postGet Credentials for Delegated Restore of Microsoft Entra ID Items
- getGet Redirect URI for Delegated Restore of Microsoft Entra ID Items
- postPerform Authorization Code Exchange for Delegated Restore of Microsoft Entra ID Items
- postMount Microsoft Entra ID Tenant
- postStart Microsoft Entra ID Tenant Restore from Copy
- postUnmount Microsoft Entra ID Tenant
- postStart Microsoft Entra ID Audit Log Restore
- postUnmount Microsoft Entra ID Audit Logs
- postStarts Volume Restore for Agent or Recovery Appliance
- Application Items Restore
- DiskManagement
- postInitialize Disk Management
- postMap Backup Layout to Host Layout Automatically
- putKeep Disk Management Session Alive
- getGet Current Restore Layout of Host
- postApply Backup Layout
- postApply Disk Layout
- postErase Disk
- postRemove Partition
- postResize Partition
- postGet Partition Resize Options
- postRestore Partition
- putUnlock BitLocker-Protected Volume
- putCreate Disk Management Checkpoint
- putRevert to Disk Management Checkpoint
- Recovery Media
- Data Integration API
- Backup Browser
- postValidate Target Machine Credentials
- postValidate FLR Restore Item Target Path
- getGet All File Restore Mount Points
- getGet File Restore Mount Point
- getGet Restored Files Audit
- postBrowse File System
- postCompare Attributes
- postCompare Files and Folders
- postSearch for Files and Folders
- postBrowse Search Results
- postRestore Files and Folders to Original Location
- postRestore Files and Folders to Another Location
- postPrepare Files and Folders for Download
- postDownload Files and Folders
- getDownload Files and Folders
- getGet All Unstructured Data Mount Points
- getGet Unstructured Data Mount Point
- postBrowse Unstructured Data File System
- postGet Restore Points of Unstructured Data File System Item
- postSearch for Files and Folders in Unstructured Data Mount Point
- postBrowse Search Results in Unstructured Data Mount Point
- postCopy Files and Folders to Specific Folder
- postRestore Files and Folders from Unstructured Data Backup
- postPrepare Files and Folders for Download from Unstructured Data Backup
- getDownload Files and Folders
- postCompare Attributes of Unstructured Data Backup with Source
- postCompare Files and Folders of Unstructured Data Backup with Source
- getGet Mount Points of All Microsoft Entra ID Tenants
- getGet Mount Point of Microsoft Entra ID Tenant
- postGet Restore Points of Microsoft Entra ID Tenant
- getGet Protection Scope of Microsoft Entra ID Tenant
- postGet Microsoft Entra ID Items
- postGet Microsoft Entra ID Item
- postGet Restore Points of Microsoft Entra ID Item
- postValidate Microsoft Entra ID Items
- postCheck Microsoft Entra ID Items in Production
- postGenerate Microsoft Entra ID User Passwords
- postRestore Microsoft Entra ID Items
- postRestore Microsoft Entra ID Item Properties
- postCompare Microsoft Entra ID Item Properties
- postStart Comparing Microsoft Entra ID Item Properties
- getGet Comparison Results for Microsoft Entra ID Items
- postStart Comparing Microsoft Entra ID Conditional Access Policy
- getGet Comparison Results for Microsoft Entra ID Conditional Access Policy
- postStart Exporting Microsoft Entra ID Items to JSON
- getGet JSON Export Results for Microsoft Entra ID Items
- postExport Microsoft Entra ID Tenant Objects To JSON
- postExport Microsoft Entra ID Items
- postUpload Microsoft Entra ID Users
- postUpload Microsoft Entra ID Groups
- postUpload Microsoft Entra ID Administrative Units
- postUpload Microsoft Entra ID Roles
- postUpload Microsoft Entra ID Applications
- postUpload Microsoft Entra ID Conditional Access Policies
- postUpload Microsoft Entra ID Device Configurations
- postUpload Microsoft Entra ID Organization Contacts
- postUpload Microsoft Entra ID Devices
- getGet All Restore Sessions of Microsoft Entra ID Tenant
- getGet Restore Session of Microsoft Entra ID Tenant
- getGet Restore Session Logs of Microsoft Entra ID Tenant
- postStop Restore Session of Microsoft Entra ID Tenant
- postReveal Microsoft Entra ID BitLocker Recovery Key
- Tasks
- Replicas
- Replica Restore Points
- Failover
- Failback
- Sessions
- Agents
- getGet All Recovery Tokens
- postCreate Recovery Token
- getGet Recovery Token
- putEdit Recovery Token
- delDelete Recovery Token
- getGet All Protected Linux Computers
- getGet Protected Linux Computer
- getGet All Discovered Entities
- getGet All Agent States
- getGet Agent State
- getGet Agent Backups
- postAttach Backups to Agent
- postDetach Backups from Agent
- getGet Protection Groups
- postAdd Protection Group
- getGet Protection Group
- putEdit Protection Group
- delRemove Protection Group
- postRescan Protection Group
- postEnable Protection Group
- postDisable Protection Group
- postDownload Protection Group Packages
- getGet Discovered Entities
- postRescan Discovered Entities
- postReboot Discovered Entities
- postInstall Agent on Discovered Entities
- postUninstall Agent from Discovered Entities
- postUpgrade Agent on Discovered Entities
- postInstall CBT Driver on Discovered Entities
- postUninstall CBT Driver from Discovered Entities
- postUninstall All Components from Discovered Entities
- postAdd Discovered Entities to Trusted Hosts List
- postPrepare Agent Hosts for Remote Bare Metal Recovery
- postRecreate Embedded Recovery Media on Agent Hosts
- getGet Discovered Entity
- delRemove Discovered Entity
- postCreate Recovery Media Task for Discovered Entity
- getCreate Recovery Media for Discovered Entity
- getGet Linux Agent Packages
- getGet Unix Agent Packages
- getGet Agents Recovery Appliances
- getGet Agents Recovery Appliance
- postReboots Agents Recovery Appliances
- postReboots Agents Recovery Appliance
- Active Directory Domains
- Automation
- postImport Jobs
- postExport Jobs
- postImport Credentials
- postExport Credentials
- postImport Cloud Credentials
- postExport Cloud Credentials
- postImport Proxies
- postExport Proxies
- postImport Servers
- postExport Servers
- postImport Repositories
- postExport Repositories
- postImport Encryption Passwords
- postExport Encryption Passwords
- getGet All Automation Sessions
- getGet Automation Session
- getGet Automation Session Logs
- postStop Automation Session
- Log export
The Disk Management section defines operations for managing disks and volumes during restore. Within a disk management session, you can load the live disk layout of a target host, automatically or manually map a backup layout onto it, and apply changes such as creating, removing, resizing and restoring partitions. You can also erase disks, unlock BitLocker-protected volumes, and create or revert to checkpoints to discard subsequent modifications.
Initialize Disk Management
The HTTP POST request to the /api/v1/diskManagement/init endpoint initializes a disk management session and loads the live disk layout of the host.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
| id required | string <uuid> Agent or recovery appliance ID. |
| oibId required | string <uuid> Restore point ID. |
| hostType required | string (EVolumeRestoreHostType) Type of host on which the volumes will be restored. |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "id": "a1f3c2d4-5e6b-47a8-9c10-2b3d4e5f6a7b",
- "oibId": "b2e4d3c5-6f70-48b9-ad21-3c4e5f6a7b8c",
- "hostType": "Agent"
}- 200
- 401
- 403
- 500
{- "id": "a1f3c2d4-5e6b-47a8-9c10-2b3d4e5f6a7b",
- "name": "enterprise01.tech.local",
- "diskManagementSessionId": "c3f5e4d6-7a81-49ca-be32-4d5f6a7b8c9d"
}Map Backup Layout to Host Layout Automatically
The HTTP POST request to the /api/v1/diskManagement/automap endpoint automatically maps the backup disk layout of the selected restore point onto the live disk layout of the host.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
| diskManagementSessionId required | string <uuid> Disk management session ID. |
| mappingType required | string (EBackupLayoutMappingType) Type of mapping the backup layout onto the current layout of the host. |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "diskManagementSessionId": "c3f5e4d6-7a81-49ca-be32-4d5f6a7b8c9d",
- "mappingType": "ToOriginalLayout"
}- 200
- 401
- 403
- 500
{- "success": true,
- "restoreLayout": {
- "id": "d4f6e5c7-8b92-4adb-bf43-5e6a7b8c9da0",
- "name": "enterprise01.tech.local",
- "diskManagementSessionId": "c3f5e4d6-7a81-49ca-be32-4d5f6a7b8c9d",
- "volumeMatchingResults": {
- "version": 1,
- "disks": [
- {
- "number": 0,
- "size": {
- "size": 128,
- "unit": "Gb"
}, - "isDynamic": false,
- "logicalSectorSize": 512,
- "partitions": [
- {
- "name": "System Reserved",
- "size": {
- "size": 549,
- "unit": "Mb"
}, - "startingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "type": "Volume",
- "fsType": "NTFS",
- "availableOperations": [
- "Resize"
], - "liveVolumeExists": true,
- "liveVolumeId": "e5f7a6b8-9ca3-4bec-c054-6a7b8c9dae1f"
}
]
}
]
}
}
}Keep Disk Management Session Alive
The HTTP PUT request to the /api/v1/diskManagement/{diskManagementSessionId}/keepAlive endpoint keeps the disk management session active.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
path Parameters
| diskManagementSessionId required | string <uuid> Disk management session ID. To get the ID, run the Initialize Disk Management request. |
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{ }Get Current Restore Layout of Host
The HTTP GET request to the /api/v1/diskManagement/{diskManagementSessionId} endpoint returns the current restore layout of the host.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
path Parameters
| diskManagementSessionId required | string <uuid> Disk management session ID. To get the ID, run the Initialize Disk Management request. |
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{- "id": "d4f6e5c7-8b92-4adb-bf43-5e6a7b8c9da0",
- "name": "enterprise01.tech.local",
- "diskManagementSessionId": "c3f5e4d6-7a81-49ca-be32-4d5f6a7b8c9d",
- "targetLayout": {
- "version": 1,
- "disks": [
- {
- "number": 0,
- "size": {
- "size": 128,
- "unit": "Gb"
}, - "isDynamic": false,
- "logicalSectorSize": 512,
- "partitions": [
- {
- "name": "System Reserved",
- "size": {
- "size": 549,
- "unit": "Mb"
}, - "startingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "type": "Volume",
- "fsType": "NTFS",
- "availableOperations": [
- "Resize"
], - "liveVolumeExists": true,
- "liveVolumeId": "e5f7a6b8-9ca3-4bec-c054-6a7b8c9dae1f"
}
]
}
]
}, - "sourceLayout": {
- "version": 1,
- "disks": [
- {
- "number": 0,
- "size": {
- "size": 128,
- "unit": "Gb"
}, - "isDynamic": false,
- "logicalSectorSize": 512,
- "partitions": [
- {
- "name": "System Reserved",
- "size": {
- "size": 549,
- "unit": "Mb"
}, - "startingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "type": "Volume",
- "fsType": "NTFS",
- "availableOperations": [
- "Resize"
], - "liveVolumeExists": true,
- "liveVolumeId": "e5f7a6b8-9ca3-4bec-c054-6a7b8c9dae1f"
}
]
}
]
}, - "volumeMatchingResults": {
- "version": 1,
- "disks": [
- {
- "number": 0,
- "size": {
- "size": 128,
- "unit": "Gb"
}, - "isDynamic": false,
- "logicalSectorSize": 512,
- "partitions": [
- {
- "name": "System Reserved",
- "size": {
- "size": 549,
- "unit": "Mb"
}, - "startingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "type": "Volume",
- "fsType": "NTFS",
- "availableOperations": [
- "Resize"
], - "liveVolumeExists": true,
- "liveVolumeId": "e5f7a6b8-9ca3-4bec-c054-6a7b8c9dae1f"
}
]
}
]
}
}Apply Backup Layout
The HTTP POST request to the /api/v1/diskManagement/{diskManagementSessionId}/applyBackupLayout endpoint applies the backup disk layout to the specified disk.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
path Parameters
| diskManagementSessionId required | string <uuid> |
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
| targetDiskNumber required | integer <int32> Disk number of the destination disk to apply the layout to. |
| sourceDiskNumber | integer <int32> Disk number of the backup disk layout to apply from. |
The backup layout has been applied to the disk.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "targetDiskNumber": 0,
- "sourceDiskNumber": 0
}- 200
- 400
- 401
- 403
- 404
- 500
{- "version": 1,
- "disks": [
- {
- "number": 0,
- "size": {
- "size": 128,
- "unit": "Gb"
}, - "isDynamic": false,
- "logicalSectorSize": 512,
- "partitions": [
- {
- "name": "System Reserved",
- "description": "System partition",
- "size": {
- "size": 549,
- "unit": "Mb"
}, - "startingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "type": "Volume",
- "fsType": "NTFS",
- "availableOperations": [
- "Resize",
- "Remove"
], - "liveVolumeExists": true,
- "liveVolumeId": "e5f7a6b8-9ca3-4bec-c054-6a7b8c9dae1f"
}
]
}
]
}Apply Disk Layout
The HTTP POST request to the /api/v1/diskManagement/{diskManagementSessionId}/applyDiskLayout endpoint applies a disk layout from an original disk to the specified target disk.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
path Parameters
| diskManagementSessionId required | string <uuid> |
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
| targetDiskNumber required | integer <int32> Disk number of the destination disk to apply the layout to. |
| sourceDiskNumber required | integer <int32> Disk number of the backup disk layout to apply from. |
The disk layout has been applied from the original disk to the target disk.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "targetDiskNumber": 0,
- "sourceDiskNumber": 0
}- 200
- 400
- 401
- 403
- 404
- 500
{- "version": 1,
- "disks": [
- {
- "number": 0,
- "size": {
- "size": 128,
- "unit": "Gb"
}, - "isDynamic": false,
- "logicalSectorSize": 512,
- "partitions": [
- {
- "name": "System Reserved",
- "description": "System partition",
- "size": {
- "size": 549,
- "unit": "Mb"
}, - "startingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "type": "Volume",
- "fsType": "NTFS",
- "availableOperations": [
- "Resize",
- "Remove"
], - "liveVolumeExists": true,
- "liveVolumeId": "e5f7a6b8-9ca3-4bec-c054-6a7b8c9dae1f"
}
]
}
]
}Erase Disk
The HTTP POST request to the /api/v1/diskManagement/{diskManagementSessionId}/eraseDisk endpoint erases all partitions and data from the specified disk.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
path Parameters
| diskManagementSessionId required | string <uuid> |
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
| targetDiskNumber required | integer <int32> Disk number of the destination disk to apply the layout to. |
| sourceDiskNumber | integer <int32> Disk number of the backup disk layout to apply from. |
The disk has been erased.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "targetDiskNumber": 0,
- "sourceDiskNumber": 0
}- 200
- 400
- 401
- 403
- 404
- 500
{- "version": 1,
- "disks": [
- {
- "number": 0,
- "size": {
- "size": 128,
- "unit": "Gb"
}, - "isDynamic": false,
- "logicalSectorSize": 512,
- "partitions": [
- {
- "name": "System Reserved",
- "description": "System partition",
- "size": {
- "size": 549,
- "unit": "Mb"
}, - "startingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "type": "Volume",
- "fsType": "NTFS",
- "availableOperations": [
- "Resize",
- "Remove"
], - "liveVolumeExists": true,
- "liveVolumeId": "e5f7a6b8-9ca3-4bec-c054-6a7b8c9dae1f"
}
]
}
]
}Remove Partition
The HTTP POST request to the /api/v1/diskManagement/{diskManagementSessionId}/removePartition endpoint removes a partition from the specified disk.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
path Parameters
| diskManagementSessionId required | string <uuid> |
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
| targetDiskNumber required | integer <int32> Disk number. |
| liveVolumeId required | string or null <uuid> Live volume ID. |
required | object (SizeModel) Size value with a measurement unit. |
required | object (SizeModel) Size value with a measurement unit. |
The partition has been removed from the disk.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "targetDiskNumber": 0,
- "liveVolumeId": "e5f7a6b8-9ca3-4bec-c054-6a7b8c9dae1f",
- "startOffset": {
- "size": 1,
- "unit": "Mb"
}, - "size": {
- "size": 549,
- "unit": "Mb"
}
}- 200
- 400
- 401
- 403
- 404
- 500
{- "version": 1,
- "disks": [
- {
- "number": 0,
- "size": {
- "size": 128,
- "unit": "Gb"
}, - "isDynamic": false,
- "logicalSectorSize": 512,
- "partitions": [
- {
- "name": "System Reserved",
- "description": "System partition",
- "size": {
- "size": 549,
- "unit": "Mb"
}, - "startingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "type": "Volume",
- "fsType": "NTFS",
- "availableOperations": [
- "Resize",
- "Remove"
], - "liveVolumeExists": true,
- "liveVolumeId": "e5f7a6b8-9ca3-4bec-c054-6a7b8c9dae1f"
}
]
}
]
}Resize Partition
The HTTP POST request to the /api/v1/diskManagement/{diskManagementSessionId}/resizePartition endpoint resizes a partition on the specified disk.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
path Parameters
| diskManagementSessionId required | string <uuid> |
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
required | object (PartitionInfoModel) Disk partition information. |
required | object (SizeModel) Size value with a measurement unit. |
The partition has been resized.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "partitionInfo": {
- "diskNumber": 0,
- "partNumber": 1,
- "startingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "partitionLength": {
- "size": 549,
- "unit": "Mb"
}, - "displayName": "System Reserved",
- "partitionStyle": "Gpt"
}, - "newSize": {
- "size": 1,
- "unit": "Gb"
}
}- 200
- 400
- 401
- 403
- 404
- 500
{- "version": 1,
- "disks": [
- {
- "number": 0,
- "size": {
- "size": 128,
- "unit": "Gb"
}, - "isDynamic": false,
- "logicalSectorSize": 512,
- "partitions": [
- {
- "name": "System Reserved",
- "description": "System partition",
- "size": {
- "size": 549,
- "unit": "Mb"
}, - "startingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "type": "Volume",
- "fsType": "NTFS",
- "availableOperations": [
- "Resize",
- "Remove"
], - "liveVolumeExists": true,
- "liveVolumeId": "e5f7a6b8-9ca3-4bec-c054-6a7b8c9dae1f"
}
]
}
]
}Get Partition Resize Options
The HTTP POST request to the /api/v1/diskManagement/{diskManagementSessionId}/resizePartitionOptions endpoint validates whether the specified partition can be resized and returns the calculated size constraints: minimum, maximum, and current size.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
path Parameters
| diskManagementSessionId required | string <uuid> |
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
| diskNumber required | integer <int32> Disk number where the partition is located. |
| liveVolumeExists required | boolean If |
| fsType required | string (EVolumeFileSystemType) File system type of the volume. |
required | object (SizeModel) Size value with a measurement unit. |
required | object (PartitionInfoModel) Disk partition information. |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "diskNumber": 0,
- "liveVolumeExists": true,
- "fsType": "NTFS",
- "size": {
- "size": 549,
- "unit": "Mb"
}, - "partitionInfo": {
- "diskNumber": 0,
- "partNumber": 1,
- "startingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "partitionLength": {
- "size": 549,
- "unit": "Mb"
}, - "displayName": "System Reserved",
- "partitionStyle": "Gpt"
}
}- 200
- 401
- 403
- 500
{- "volumeLabel": "System Reserved",
- "currentSize": {
- "size": 549,
- "unit": "Mb"
}, - "maximumSize": {
- "size": 2,
- "unit": "Gb"
}, - "minimumSize": {
- "size": 256,
- "unit": "Mb"
}
}Restore Partition
The HTTP POST request to the /api/v1/diskManagement/{diskManagementSessionId}/restorePartition endpoint restores a partition from the original backup disk to the target disk.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
path Parameters
| diskManagementSessionId required | string <uuid> |
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
| targetDiskNumber required | integer <int32> Disk number of the target disk. |
| targetDiskLogicalSectorSize required | integer <int32> Logical sector size of the target disk. |
| isTargetDiskDynamic required | boolean If |
required | object (SizeModel) Size value with a measurement unit. |
| sourceDiskNumber required | integer <int32> Disk number of the original disk to restore from. |
| sourcePartitionNumber required | integer <int32> Partition number of the original partition to restore from. |
The partition has been restored from the backup to the target disk.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "targetDiskNumber": 0,
- "targetDiskLogicalSectorSize": 512,
- "isTargetDiskDynamic": false,
- "targetPartitionStartingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "sourceDiskNumber": 0,
- "sourcePartitionNumber": 1
}- 200
- 400
- 401
- 403
- 404
- 500
{- "version": 1,
- "disks": [
- {
- "number": 0,
- "size": {
- "size": 128,
- "unit": "Gb"
}, - "isDynamic": false,
- "logicalSectorSize": 512,
- "partitions": [
- {
- "name": "System Reserved",
- "description": "System partition",
- "size": {
- "size": 549,
- "unit": "Mb"
}, - "startingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "type": "Volume",
- "fsType": "NTFS",
- "availableOperations": [
- "Resize",
- "Remove"
], - "liveVolumeExists": true,
- "liveVolumeId": "e5f7a6b8-9ca3-4bec-c054-6a7b8c9dae1f"
}
]
}
]
}Unlock BitLocker-Protected Volume
The HTTP PUT request to the /api/v1/diskManagement/unlockVolume endpoint unlocks the selected BitLocker-protected volume.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
| diskManagementSessionId required | string <uuid> Disk management session ID. |
| volumeId required | string <uuid> Selected volume ID. |
| keyOrPassword required | string <password> Numeric key or password for the locked volume. |
| volumeName | string Volume name. |
Result of the volume unlock attempt.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "diskManagementSessionId": "c3f5e4d6-7a81-49ca-be32-4d5f6a7b8c9d",
- "volumeId": "e5f7a6b8-9ca3-4bec-c054-6a7b8c9dae1f",
- "volumeName": "BitLocker Volume",
- "keyOrPassword": "St0r@gePass!"
}- 200
- 401
- 403
- 500
{- "success": true
}Create Disk Management Checkpoint
The HTTP PUT request to the /api/v1/diskManagement/{diskManagementSessionId}/createCheckPoint endpoint creates a checkpoint of the current restore layout state so that subsequent modifications can be reverted and discarded.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
path Parameters
| diskManagementSessionId required | string <uuid> |
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{ }Revert to Disk Management Checkpoint
The HTTP PUT request to the /api/v1/diskManagement/{diskManagementSessionId}/revertToCheckPoint endpoint reverts the restore layout state to the previously created checkpoint and discards all modifications made since that point.
Available to: Backup Administrator, Restore Operator. Also available to custom roles that have restore permissions.
path Parameters
| diskManagementSessionId required | string <uuid> |
header Parameters
| x-api-version required | string Default: 1.3-rev2 Version and revision of the client REST API. Must be in the following format: |
Restore layout state after reverting to the checkpoint.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{- "version": 1,
- "disks": [
- {
- "number": 0,
- "size": {
- "size": 128,
- "unit": "Gb"
}, - "isDynamic": false,
- "logicalSectorSize": 512,
- "partitions": [
- {
- "name": "System Reserved",
- "description": "System partition",
- "size": {
- "size": 549,
- "unit": "Mb"
}, - "startingOffset": {
- "size": 1,
- "unit": "Mb"
}, - "type": "Volume",
- "fsType": "NTFS",
- "availableOperations": [
- "Resize",
- "Remove"
], - "liveVolumeExists": true,
- "liveVolumeId": "e5f7a6b8-9ca3-4bec-c054-6a7b8c9dae1f"
}
]
}
]
}