- 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 Managed Servers section defines operations for managing servers.
In this version, the REST API supports the following server types: VMware vSphere, Hyper-V, Linux and Windows.
Get All Servers
The HTTP GET request to the /api/v1/backupInfrastructure/managedServers endpoint gets an array of all servers that are added to the backup infrastructure.
Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.
query Parameters
| skip | integer <int32> Number of servers to skip. |
| limit | integer <int32> Default: 200 Maximum number of servers to return. |
| orderColumn | string (EManagedServersFiltersOrderColumn) Sorts servers by one of the server parameters. |
| orderAsc | boolean If |
| nameFilter | string Filters servers by the |
| typeFilter | Array of strings (EManagedServerType) Filters servers by server type. |
| viTypeFilter | string (EViHostType) Filters servers by the type of VMware vSphere server. |
| serverStateFilter | string (EManagedServerState) Filters servers by their state. |
| updatesStateFilter | Array of strings (EHostUpdatesState) Filters servers by updatesState (only for Linux hosts). |
| includeNestedHosts | boolean If |
| skipDedupAppliances | boolean Default: false If |
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
{- "data": [
- {
- "sshSettings": {
- "sshTimeOutMs": 20000,
- "portRangeStart": 2500,
- "portRangeEnd": 3300,
- "serverSide": false
}, - "type": "LinuxHost",
- "id": "535b5414-788d-4720-a53a-ecc830d2589b",
- "name": "172.17.53.67",
- "description": "Created by TECH\\sheila.d.cory",
- "credentialsId": "b860489e-490d-4e43-b20a-a91c4e7d2e76",
- "status": "Available",
- "credentialsStorageType": "Permanent"
}, - {
- "networkSettings": {
- "components": [
- {
- "componentName": "InstallerSvc",
- "port": 6160
}, - {
- "componentName": "TransportSvc",
- "port": 6162
}, - {
- "componentName": "VPowerNFS",
- "port": 6161
}, - {
- "componentName": "RestoreProxy",
- "port": 6170
}, - {
- "componentName": "WanAccelerator",
- "port": 6164
}, - {
- "componentName": "TapeProxy",
- "port": 6166
}, - {
- "componentName": "CloudGateway",
- "port": 6168
}, - {
- "componentName": "DistributionSvc",
- "port": 9380
}, - {
- "componentName": "VssIntegration",
- "port": 6210
}, - {
- "componentName": "VssHvSnapshotProvider",
- "port": 6211
}
], - "portRangeStart": 2500,
- "portRangeEnd": 3300,
- "serverSide": false
}, - "type": "WindowsHost",
- "id": "ee50f2fb-034f-41cd-8dc8-904aeae2d0d8",
- "name": "enterprise04.tech.local",
- "description": "Created by TECH\\sheila.d.cory",
- "credentialsId": "fa4769b5-6722-4968-838b-866c29bd14d4",
- "status": "Available",
- "credentialsStorageType": "Permanent"
}, - {
- "viHostType": "VC",
- "port": 443,
- "type": "ViHost",
- "id": "de28dc43-b8ee-4e17-8e63-3d38b6604033",
- "name": "vcenter01.tech.local",
- "description": "Created by TECH\\administrator",
- "credentialsId": "fa4769b5-6722-4968-838b-866c29bd14d4",
- "status": "Available"
}
], - "pagination": {
- "total": 3,
- "count": 3,
- "skip": 0,
- "limit": 200
}
}Add Server
The HTTP POST request to the /api/v1/backupInfrastructure/managedServers endpoint adds a server to the backup infrastructure.
If you want to add a Microsoft Hyper-V cluster and include only specific Microsoft Hyper-V hosts, follow these steps:
- Add the credentials used to connect to the Microsoft Hyper-V cluster: Add Credentials Record. You will need to specify the credentials ID in the following requests.
- Discover the hosts managed by the cluster: Get Microsoft Hyper-V Servers Managed by Microsoft Hyper-V Cluster or SCVMM Server.
- Add the Microsoft Hyper-V cluster using this request. In the request body, specify the necessary hosts.
If you want to add an SCVMM server and include only specific Microsoft Hyper-V hosts, follow these steps:
- Add the credentials used to connect to the SCVMM server: Add Credentials Record. You will need to specify the credentials ID in the following requests.
- To add an SCVMM server without hosts, use this request and set
addAllServerstofalsein the request body . - Discover the hosts managed by the SCVMM server: Get Microsoft Hyper-V Servers Managed by Microsoft Hyper-V Cluster or SCVMM Server.
- To add the necessary hosts, edit the SCVMM server: Edit Server.
Available to: Backup Administrator.
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
| description required | string Description of the server. |
| name required | string Full DNS name or IP address of the server. |
| type required | string (EManagedServerType) Type of the server. |
| credentialsStorageType required | string (ECredentialsStorageType) Credentials type used to connect to the server. |
| credentialsId | string <uuid> ID of the credentials used to connect to the server. |
object (ManagedHostPortsModel) Veeam Backup & Replication components installed on the server and ports used by the components. |
An Infrastructure session has been created to add the server. To check the progress, track the session state.
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.
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
{- "networkSettings": {
- "components": [
- {
- "componentName": "InstallerSvc",
- "port": 6160
}, - {
- "componentName": "TransportSvc",
- "port": 6162
}, - {
- "componentName": "VPowerNFS",
- "port": 6161
}, - {
- "componentName": "RestoreProxy",
- "port": 6170
}, - {
- "componentName": "WanAccelerator",
- "port": 6164
}, - {
- "componentName": "TapeProxy",
- "port": 6166
}, - {
- "componentName": "CloudGateway",
- "port": 6168
}, - {
- "componentName": "DistributionSvc",
- "port": 9380
}, - {
- "componentName": "VssIntegration",
- "port": 6210
}, - {
- "componentName": "VssHvSnapshotProvider",
- "port": 6211
}
], - "portRangeStart": 2517,
- "portRangeEnd": 3313,
- "serverSide": true
}, - "type": "WindowsHost",
- "name": "enterprise01.tech.local",
- "description": "Backup Repository",
- "credentialsId": "d7af15f3-8808-454e-ba79-2c2267acb05d",
- "credentialsStorageType": "Permanent"
}- 201
- 400
- 401
- 403
- 500
{- "sessionType": "Infrastructure",
- "state": "Working",
- "id": "89fe3413-cde0-4061-925a-6d72857db45c",
- "name": "Infrastructure Item Saving",
- "jobId": "89fe3413-cde0-4061-925a-6d72857db45c",
- "creationTime": "2025-07-30T13:01:27.491999+02:00",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "usn": 331548,
- "initiatedBy": ".\\veeam-rest-service"
}Get vCenter Servers Attached to Cloud Director Server
The HTTP POST request to the /api/v1/backupInfrastructure/managedServers/cloudDirectorHosts endpoint gets an array of vCenter Servers attached to a specific VMware Cloud Director server.
Available to: Backup Administrator.
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
| credentialsId required | string <uuid> ID of the credentials used to connect to the server. |
| url required | string URL of the VMware Cloud Director server. |
| certificateThumbprint | string Certificate thumbprint used to verify the server identity. For details on how to get the thumbprint, see Request TLS Certificate or SSH Fingerprint. |
OK
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.
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
{- "credentialsId": "0a3b8d5f-1c24-4f9e-9b71-2e6c4d8a1f30",
- "certificateThumbprint": "9F4C2A7E1D3B6058AC91E2F7D4B0C8351A6E9D27"
}- 200
- 400
- 401
- 403
- 500
{- "data": [
- {
- "viServerName": "vcenter01.tech.local",
- "certificateThumbprint": "9F4C2A7E1D3B6058AC91E2F7D4B0C8351A6E9D27"
}
]
}Get Microsoft Hyper-V Servers Managed by Microsoft Hyper-V Cluster or SCVMM Server
The HTTP POST request to the /api/v1/backupInfrastructure/managedServers/hyperVHosts endpoint gets an array of Microsoft Hyper-V Servers managed by a specific Microsoft Hyper-V cluster or an SCVMM server.
Before you discover the hosts of your SCVMM server, you must add the SCVMM server to the Veeam Backup & Replication infrastructure.
Available to: Backup Administrator.
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
| credentialsId | string <uuid> Credentials ID used to connect to the Microsoft Hyper-V cluster or SCVMM Server. |
| scvmmHostId | string <uuid> ID of the SCVMM server. |
| hvClusterName | string Name of the Microsoft Hyper-V cluster. |
OK
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.
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
{- "credentialsId": "8f2e6fa5-4757-4312-a4b2-73b9325df6a4",
- "hvClusterName": "twhv19cluster.tech.local"
}- 200
- 400
- 401
- 403
- 500
{- "data": [
- {
- "hvServerName": "hyperv01.tech.local"
}, - {
- "hvServerName": "hyperv02.tech.local"
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 100
}
}Get Server
The HTTP GET request to the /api/v1/backupInfrastructure/managedServers/{id} endpoint gets a managed server that has the specified id.
Available to: Backup Administrator, Backup Operator, Restore Operator, Backup Viewer. Also available to custom roles that have backup or restore permissions.
path Parameters
| id required | string <uuid> Managed server ID. To get the ID, run the Get All Servers 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.
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.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "credentialsStorageType": "Permanent",
- "credentialsId": "ccddfca4-571d-4d1e-9609-f709d219326b",
- "networkSettings": {
- "components": [
- {
- "componentName": "TransportSvc",
- "port": 6162
}, - {
- "componentName": "HvIntegration",
- "port": 6163
}, - {
- "componentName": "GuestInteractionProxy",
- "port": 6190
}
], - "portRangeStart": 2500,
- "portRangeEnd": 3300,
- "serverSide": true
}, - "maxTaskCount": 4,
- "type": "HvServer",
- "status": "Available",
- "id": "8a689010-07a6-4b3c-9a26-786c8fad2e70",
- "name": "pdctwhv02.tech.local",
- "description": "Microsof Hyper-V host created by .\\veeamadmin"
}Edit Server
The HTTP PUT request to the /api/v1/backupInfrastructure/managedServers/{id} endpoint edits a managed server that has the specified id.
Available to: Backup Administrator.
path Parameters
| id required | string <uuid> Managed server ID. To get the ID, run the Get All Servers 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: |
Request Body schema: application/jsonrequired
| description required | string Description of the server. |
| id required | string <uuid> ID of the server. |
| name required | string Full DNS name or IP address of the server. |
| type required | string (EManagedServerType) Type of the server. |
| status required | string (EManagedServersStatus) Availability status. |
| credentialsStorageType required | string (ECredentialsStorageType) Credentials type used to connect to the server. |
| credentialsId | string <uuid> ID of the credentials used to connect to the server. |
object (ManagedHostPortsModel) Veeam Backup & Replication components installed on the server and ports used by the components. | |
| isBackupServer | boolean If |
| isDefaultMountServer | boolean If |
| updatesState | string (EHostUpdatesState) Host updates state. |
An Infrastructure session has been created to edit the server. To check the progress, track the session state.
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
{- "credentialsStorageType": "Permanent",
- "credentialsId": "ccddfca4-571d-4d1e-9609-f709d219326b",
- "networkSettings": {
- "components": [
- {
- "componentName": "TransportSvc",
- "port": 6162
}, - {
- "componentName": "HvIntegration",
- "port": 6163
}, - {
- "componentName": "GuestInteractionProxy",
- "port": 6190
}
], - "portRangeStart": 2500,
- "portRangeEnd": 3300,
- "serverSide": true
}, - "maxTaskCount": 4,
- "type": "HvServer",
- "status": "Available",
- "id": "8a689010-07a6-4b3c-9a26-786c8fad2e70",
- "name": "pdctwhv02.tech.local",
- "description": "Microsof Hyper-V host created by .\\veeamadmin"
}- 201
- 400
- 401
- 403
- 404
- 500
{- "sessionType": "Infrastructure",
- "state": "Working",
- "id": "89fe3413-cde0-4061-925a-6d72857db45c",
- "name": "Infrastructure Item Saving",
- "jobId": "89fe3413-cde0-4061-925a-6d72857db45c",
- "creationTime": "2025-07-30T13:01:27.491999+02:00",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "usn": 331548,
- "initiatedBy": ".\\veeam-rest-service"
}Remove Server
The HTTP DELETE request to the /api/v1/backupInfrastructure/managedServers/{id} endpoint removes a managed server that has the specified id from the backup infrastructure.
Available to: Backup Administrator.
path Parameters
| id required | string <uuid> Managed server ID. To get the ID, run the Get All Servers 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: |
An InfrastructureItemDeletion session has been created to remove the server. To check the progress, track the session state.
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.
- curl
- Python
- JavaScript
- C#
- Go
- 201
- 401
- 403
- 404
- 500
{- "sessionType": "InfrastructureItemDeletion",
- "state": "Stopped",
- "id": "af1a6027-3845-487e-9a16-6849f4775a1e",
- "name": "Infrastructure Item Deletion",
- "jobId": "fc5683a4-8c25-4f8e-97cc-0a40745a5729",
- "creationTime": "2025-06-28T21:21:08.81+02:00",
- "endTime": "2025-06-28T21:22:15.92+02:00",
- "progressPercent": 100,
- "result": {
- "result": "Success",
- "message": "Success",
- "isCanceled": false
}, - "resourceId": "af1a6027-3845-487e-9a16-6849f4775a1e",
- "usn": 0
}Change to Single-Use Credentials
The HTTP POST request to the /api/v1/backupInfrastructure/managedServers/{id}/updateSingleUseCredentials endpoint changes the credentials type (from persistent to single-use credentials) for a Linux server that has the specified id. Single-use type of credentials is required if you want to use the Linux server as a hardened repository.
Available to: Backup Administrator.
path Parameters
| id required | string <uuid> Managed server ID. To get the ID, run the Get All Servers 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: |
Request Body schema: application/jsonrequired
| username required | string User name. |
| type required | string (ECredentialsType) Credentials type. |
| password required | string Password. |
| description | string Description of the credentials record. |
| uniqueId | string Unique ID that identifies the credentials record. |
An Infrastructure session has been created to edit the server. To check the progress, track the session state.
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
{- "username": "root",
- "description": "Single-use Linux credentials",
- "type": "Linux",
- "SSHPort": 22,
- "elevateToRoot": true,
- "addToSudoers": false,
- "useSu": false,
- "authenticationType": "Password",
- "password": "Str0ngP@ssw0rd"
}- 201
- 400
- 401
- 403
- 404
- 500
{- "sessionType": "Infrastructure",
- "state": "Working",
- "id": "89fe3413-cde0-4061-925a-6d72857db45c",
- "name": "Infrastructure Item Saving",
- "jobId": "89fe3413-cde0-4061-925a-6d72857db45c",
- "creationTime": "2025-07-30T13:01:27.491999+02:00",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "usn": 331548,
- "initiatedBy": ".\\veeam-rest-service"
}Get Volumes for Microsoft Hyper-V Standalone Server
The HTTP GET request to the /api/v1/backupInfrastructure/managedServers/{id}/volumes endpoint gets volumes on a managed server that has the specified id. Applicable only for Microsoft Hyper-V standalone server
Available to: Backup Administrator.
path Parameters
| id required | string <uuid> Managed server ID. To get the ID, run the Get All Servers 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.
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.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "volumes": [
- {
- "volume": {
- "name": "C:\\ClusterStorage\\Volume1",
- "type": "VirtualMachine",
- "platform": "HyperV",
- "hostName": "hyperv01.tech.local",
- "objectId": "ebd9a9b9-932e-4b20-ae4c-c48ea718d481",
- "parentObjectId": "9c918bac-956a-437a-b83f-471d7d7e44db"
}, - "volumeSettings": {
- "VSSprovider": "Microsoft CSV Shadow Copy Provider",
- "maxSnapshots": 4
}
}
], - "changedBlockTracking": true,
- "failoverToVSSProvider": false
}Edit Volumes on Microsoft Hyper-V Standalone Server
The HTTP PUT request to the /api/v1/backupInfrastructure/managedServers/{id}/volumes endpoint edits particular volumes.
Available to: Backup Administrator.
path Parameters
| id required | string <uuid> Managed server ID. To get the ID, run the Get All Servers 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: |
Request Body schema: application/jsonrequired
| changedBlockTracking required | boolean Default: false If |
| failoverToVSSProvider required | boolean Default: true If |
required | Array of objects (HyperVVolumeObjectModel) Array of volumes. |
Volumes have been updated.
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
{- "volumes": [
- {
- "volume": {
- "name": "C:\\ClusterStorage\\Volume1",
- "type": "VirtualMachine",
- "platform": "HyperV",
- "hostName": "hyperv01.tech.local",
- "objectId": "ebd9a9b9-932e-4b20-ae4c-c48ea718d481",
- "parentObjectId": "9c918bac-956a-437a-b83f-471d7d7e44db"
}, - "volumeSettings": {
- "VSSprovider": "Microsoft CSV Shadow Copy Provider",
- "maxSnapshots": 4
}
}
], - "changedBlockTracking": true,
- "failoverToVSSProvider": false
}- 200
- 400
- 401
- 403
- 404
- 500
{- "volumes": [
- {
- "volume": {
- "name": "C:\\ClusterStorage\\Volume1",
- "type": "VirtualMachine",
- "platform": "HyperV",
- "hostName": "hyperv01.tech.local",
- "objectId": "ebd9a9b9-932e-4b20-ae4c-c48ea718d481",
- "parentObjectId": "9c918bac-956a-437a-b83f-471d7d7e44db"
}, - "volumeSettings": {
- "VSSprovider": "Microsoft CSV Shadow Copy Provider",
- "maxSnapshots": 4
}
}
], - "changedBlockTracking": true,
- "failoverToVSSProvider": false
}Rescan All Managed Servers
The HTTP POST request to the /api/v1/backupInfrastructure/managedServers/rescan endpoint rescans all or specified managed servers.
Available to: Backup Administrator.
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/json
| ids | Array of strings <uuid> Array of IDs of managed servers that must be rescanned. To get the IDs, run the Get All Servers request. |
A VolumesDiscover session has been created to rescan all managed servers. To check the progress, track the session state.
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
{- "ids": [
- "1f7c2d90-4ab8-4e21-9d3c-7b5e8a0f6c14",
- "2a9e4b71-3c52-4d68-8f10-6e7a9c1d5b23"
]
}- 201
- 401
- 403
- 404
- 500
{- "sessionType": "VolumesDiscover",
- "state": "Starting",
- "id": "6510ccdd-61eb-45e1-9a4c-16e569c39d2b",
- "name": "Host Discovery",
- "jobId": "ef6f75be-8015-47a3-8856-eb6a26452269",
- "creationTime": "2025-05-19T14:17:09.596386+02:00",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "usn": 47853
}Rescan Managed Server
The HTTP POST request to the /api/v1/backupInfrastructure/managedServers/{id}/rescan endpoint rescans a managed server with the specified id.
Available to: Backup Administrator.
path Parameters
| id required | string <uuid> Managed server ID. To get the ID, run the Get All Servers 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: |
A VolumesDiscover session has been created to rescan the specified managed servers. To check the progress, track the session state.
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.
- curl
- Python
- JavaScript
- C#
- Go
- 201
- 401
- 403
- 404
- 500
{- "sessionType": "VolumesDiscover",
- "state": "Starting",
- "id": "6510ccdd-61eb-45e1-9a4c-16e569c39d2b",
- "name": "Host Discovery",
- "jobId": "ef6f75be-8015-47a3-8856-eb6a26452269",
- "creationTime": "2025-05-19T14:17:09.596386+02:00",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "usn": 47853
}Default Set of Optional Managed Server Components
The HTTP GET request to the /api/v1/backupInfrastructure/managedServers/optionalComponents/defaults endpoint gets the default set of optional managed server components.
Available to: Backup Administrator.
"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
{- "optionalComponents": [
- {
- "displayName": "Guest Interaction Proxy",
- "optionalComponent": "GuestInteractionProxy"
}, - {
- "displayName": "Mount Server",
- "optionalComponent": "MountTarget"
}
]
}Update Managed Server Components
The HTTP POST request to the /api/v1/backupInfrastructure/managedServers/updateComponents endpoint updates managed server components.
Available to: Backup Administrator.
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
| ids | Array of strings <uuid> Array of IDs of managed servers whose components must be updated. To get the IDs, run the Get All Servers request. |
A HostComponentsUpdate session has been created to update managed server components. To check the progress, track the session state.
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
{- "ids": [
- "4464c669-c8b0-4d11-b926-f907c3568c85",
- "6745a759-2205-4cd2-b172-8ec8f7e60ef8"
]
}- 201
- 401
- 403
- 404
- 500
{- "sessionType": "HostComponentsUpdate",
- "state": "Starting",
- "id": "e6747e32-5da5-4be7-888f-8cbd62513c86",
- "name": "Host Upgrade",
- "jobId": "e6747e32-5da5-4be7-888f-8cbd62513c86",
- "creationTime": "2025-05-20T12:43:45.431244+02:00",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "usn": 125251
}