- About Veeam Backup & Replication REST API
- Overview
- How To
- Changelog
- 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 All Protection Groups
- postGet Inventory Objects for Specific Protection Group
- getGet All Unstructured Data Servers
- postAdd Unstructured Data Servers
- getGet Unstructured Data Server
- putEdit Unstructured Data Server
- delRemove Unstructured Data Server
- 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
- Traffic Rules
- General Options
- getGet General Options
- putEdit General Options
- getGet Email Settings
- putEdit Email Settings
- postSend Test Email
- 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
- 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
- getGet Role
- getGet Role Permissions
- getGet MFA Settings
- putEdit MFA Settings
- 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
- Configuration Backup
- Deployment
- Managed Servers
- getGet All Servers
- postAdd Server
- postGet vCenter Servers Attached to Cloud Director Server
- postGet Hyper-V Servers Managed by Hyper-V Cluster or SCVMM Server
- getGet Server
- putEdit Server
- delRemove Server
- postChange to Single-Use Credentials
- getGet Volumes for Hyper-V Standalone Server
- putEdit Volumes on 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 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
- Jobs
- Backups
- 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
- getGet All Instant Recovery Mount Points of VMware vSphere VMs
- postStart Instant Recovery of VMware vSphere VM
- getGet Instant Recovery Mount Point of VMware vSphere VM
- postStop Publishing VMware vSphere VM
- postStart Migrating VMware vSphere VM
- getGet All Instant Recovery Mount Points of Microsoft Hyper-V VMs
- postStart Instant Recovery of Microsoft Hyper-V VM
- getGet Instant Recovery Mount Point of Microsoft Hyper-V VM
- postStop Publishing Microsoft Hyper-V VM
- postStart Migrating Microsoft Hyper-V VM
- getGet All Mount Points for Instant Recovery to Azure
- postStart Instant Recovery to Azure
- getGet Mount Point for Instant Recovery to Azure
- getGet All Mount Sessions for Instant Recovery to Azure
- postStop Publishing Machine to Azure
- postStart Migrating Machine to Azure
- getGet Settings for Switchover to Azure
- putUpdate Settings for Switchover to Azure
- postStart Switchover to 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
- Data Integration API
- Backup Browsers
- postValidate Target Machine Credentials
- 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
- getGet All Unstructured Data Mount Points
- getGet Unstructured Data Mount Point
- postBrowse Unstructured Data File System
- 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
- postCompare Attributes of Unstructured Data Backup with Source
- postCompare Files and Folders of Unstructured Data Backup with Source
- getGet Mount Points of All 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
- 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
- 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
- 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 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
- 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
- getGet Discovered Entity
- delRemove Discovered Entity
- getCreate Recovery Media for Discovered Entity
- getGet Linux Agent Packages
- getGet Unix Agent Packages
- 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
This section describes changes introduced in Veeam Backup & Replication REST API 1.3-rev1.
To use the latest revision of the REST API, specify the 1.3-rev1 value in the x-api-version header of each request. For details on REST API versions, see Versioning.
The 1.3-rev1 value is added for the x-api-version header. The header must be specified in each request. For details on REST API versions, see Versioning.
The following new features are introduced in Veeam Backup & Replication REST API 1.3-rev1.
Veeam Backup & Replication REST API 1.3-rev1 now allows you to perform the following operations with Veeam Agents:
- Create backup policies managed by Veeam Agent
- Create protection groups for cloud machines
- Upgrade the Agent and manage the CBT driver on Windows machines
- Create Veeam Recovery Media
Note that all requests under the Protection Group tag in previous revisions have been moved under the Agents tag.
New Operations
Jobs
Backup Objects
Cloud Browser
Agents
- Upgrade Agent on Discovered Entities
- Install CBT Driver on Discovered Entities
- Uninstall CBT Driver from Discovered Entities
- Add Discovered Entities to Trusted Hosts List
- Create Recovery Media for Discovered Entity
Updated Schema
- You can use existing endpoints to create backup policies managed by Veeam Agent:
- The
JobModelobject has been updated with the following child schemas:WindowsAgentManagementBackupWorkstationPolicyModelWindowsAgentManagementBackupServerPolicyModelLinuxAgentManagementBackupWorkstationPolicyModelLinuxAgentManagementBackupServerPolicyModel
- The
JobSpecobject has been updated with the following child schemas:WindowsAgentManagementBackupWorkstationPolicySpecWindowsAgentManagementBackupServerPolicySpecLinuxAgentManagementBackupWorkstationPolicySpecLinuxAgentManagementBackupServerPolicySpec
- The following types have been added to the
EJobTypeenumeration type:WindowsAgentBackupWorkstationPolicyLinuxAgentBackupWorkstationPolicyWindowsAgentBackupServerPolicyLinuxAgentBackupServerPolicy
- The
- You can use existing endpoints to create and manage protection groups for cloud machines:
- The
UnmanagedandCloudMachinestypes have been added to theEProtectionGroupTypeenumeration type. - The
ProtectionGroupModelobject now has theUnmanagedProtectionGroupModelandCloudMachinesProtectionGroupModelchild schemas. - The
CloudMachinesProtectionGroupSpecchild schema has been added to theProtectionGroupSpecobject.
- The
- The Add Protection Group and Edit Protection Group requests now have the
performRescanparameter, which allows you to automatically start a rescan if the settings are saved successfully. - The
relatedSessionIdproperty has been added to theSessionModelobject. This property contains a rescan session triggered when creating or modifying a protection group. - The
vssproperty of theLinuxAgentBackupApplicationSettingsModelobject is no longer required. - The
AgentOperationPurgeCachetype has been added to theESessionTypeenumeration type.
REST API 1.3-rev1 introduces new endpoints that allow you to protect your unstructured data.
New Operations
Inventory Browser
Backups
Backup Browsers
- Restore Files and Folders from Unstructured Data Backup
- Compare Attributes of Unstructured Data Backup with Source
- Compare Files and Folders of Unstructured Data Backup with Source
Restore
- Restore Entire File Share
- Restore Entire Bucket or Container
- Get All Mount Points for Instant File Share Recovery
- Start Instant File Share Recovery
- Get Mount Point for Instant File Share Recovery
- Stop File Share Publishing
- Start File Share Migration
- Start File Share Switchover
- Get File Share Switchover Settings
- Update File Share Switchover Settings
- Start File Restore from Unstructured Data Backup
- Unmount Unstructured Data FLR Volumes
Updated Schema
Note the following changes:
- The
typeFilterparameter has been added to the Get All Unstructured Data Servers request, which allows you to filter unstructured data servers by their type. - The
FileInstantRecoveryandFileInstantRecoveryMigrationtypes have been added to theESessionTypeenumeration type. - The
JobModelobject has been updated with the following child schemas:FileBackupJobModelObjectStorageBackupJobModel
- The
JobSpecobject has been updated with the following child schemas:FileBackupJobSpecObjectStorageBackupJobSpec
- The following types have been added to the
EJobTypeenumeration type:FileBackupObjectStorageBackup
Veeam Backup & Replication REST API 1.3-rev1 introduces new requests that allow you to manage Veeam Backup & Replication users, groups and assigned roles.
New Operations
Veeam Backup & Replication REST API 1.3-rev1 now allows you to modify the general options in a more granular manner. The previous requests have been deprecated — for more information, see Deprecated Requests.
New Operations
- Get Email Settings
- Update Email Settings
- Send Test Email
- Get Notification Settings
- Edit Notification Settings
- Get Event Forwarding Settings
- Edit Event Forwarding Settings
- Get Storage Latency Settings
- Edit Storage Latency Settings
- Add Latency Settings for Specific Datastore
- Get Latency Settings for Specific Datastore
- Edit Latency Settings for Specific Datastore
- Remove Latency Settings for Specific Datastore
In this version, the REST API has the new Copy Backups to Another Repository request, which allows you to perform a one-time copy of backups to a specified target repository and, if specified, archive repository.
REST API 1.3-rev1 introduces the Get Logs for SureBackup Scan Task Session request, which allows you to get detailed logs about the progress of the SureBackup Lite job.
The following requests are deprecated in REST API 1.3-rev1:
The following minor non-breaking changes are introduced in REST API 1.3-rev1.
The Get All Helper Appliances request now accepts the skip and limit parameters, which allow you to skip helper appliances and limit the number of helper appliances returned by the request.
- The Get All Restore Sessions of Microsoft Entra ID Tenant request now accepts the
skipandlimitparameters, which allow you to skip restore sessions and limit the number of restore sessions returned by the request. - The
restorePointIdandrestorePointDateproperties of theEntraIdTenantBrowseModelobject are no longer required. - The
includedTypesproperty has been added to theEntraIdTenantDeviceConfigurationFilterBrowseSpecobject. - The
restoreTypeproperty has been added to theFileBackupFLRCopyToSpecobject.
- The Get All Malware Events request now accepts the
createdAfterTimeUtcFilterandcreatedBeforeTimeUtcFilterparameters, which allow you to filter malware events by the time they were created. - The
paginationproperty of theYaraRulesResultobject is now required.
The protectionScope property has been added to the EntraIDTenantModel and EntraIDTenantSpec objects.
- The
enableAutoProvisionandworkloadsPerBucketLimitproperties have been added to theS3CompatibleStorageBucketModelobject. - The
credentialsIdproperty of theSmbRepositoryShareSettingsModelobject is no longer required. - The
importOptionsproperty has been added to theLinuxHardenedStorageModel,LinuxLocalStorageModel,NfsStorageModel,SmbStorageModelandWindowsLocalStorageModelobjects. The property allows Veeam Backup & Replication to search the repository for existing backups and import them automatically.
The Get Backup Objects request now accepts the skip and limit parameters, which allow you to skip backup objects and limit the number of backup objects returned by the request.
The Get Restore Points request now accepts the skip, limit, orderColumn, orderAsc, createdAfterFilter, createdBeforeFilter, nameFilter, platformNameFilter, platformIdFilter, backupIdFilter, backupObjectIdFilter and malwareStatusFilter parameters, which allow you to filter restore points returned by the request.
- The Edit Job request now has the
allowOldGfsPointsRetentionparameter, which allows you to remove existing GFS restore points when you modify the GFS retention policy. - The
EHypeVProxyTypeproperty has been renamed toEHyperVProxyType.
The Get All Instant Recovery Mount Points of VMware vSphere VMs request now has the mountIdFilter parameter, which allows you to filter mount points by the mountId property.
The Get Restore Point Disks request now accepts the skip and limit parameters, which allow you to skip restore point disks and limit the number of restore point disks returned by the request.
- The
reasonproperty has been added to thePublishBackupContentSpecobject. - The
targetServerCredentialsIdandsingleUseSSHCredentialsproperties have been added to theFUSELinuxMountSpecobject.
- The
Typetype has been added to theEEntraIdTenantDeviceConfigurationSortingPropertyenumeration type. - The
BackupCopyJobandSureBackupContentScantypes have been added to theESessionTypeenumeration type.
The Rescan All Managed Servers request now accepts the ManagedServersSpec schema in its request body, which allows you to rescan only the specified managed servers.
Breaking changes cause REST API to function differently and can affect the client code.
The required credentialsStorageType property has been added to the FUSELinuxMountSpec object.
- The
storageproperty of theEntraIDAuditLogBackupJobSpecobject is now required. - The
fileServerIdproperty of theFileBackupJobObjectModelobject is now required. - The
typeandquantityproperties of theFileBackupRetentionPolicySettingsModelobject are now required.
- The
subnetproperty of theAzureComputeNetworkModelandAzureInstantVMRecoveryApplianceModelobjects is now required. - The required
includeproperty has been added to theAzureComputeVMDiskConfigurationModelobject. In addition, thediskUidproperty is now required. - The
overwriteproperty has been added to theEntireViVMRestoreSpecobject.