- 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
- getGet Unstructured Data Servers
- 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
- 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
- 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
- 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 Source
- postBrowse Search Results
- postCopy Files and Folders to Specific Folder
- 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
- 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 Computers
- getGet Protected Computer
- getGet Discovered Entities
- postRescan Discovered Entities
- postInstall Agent on Discovered Entities
- postUninstall Agent from Discovered Entities
- postUninstall All Components from Discovered Entities
- getGet Discovered Entity
- delRemove Discovered Entity
- getGet Linux Agent Packages
- getGet Unix Agent Packages
- Protection Groups
- 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
Inventory browser allows you to perform the following operations:
- Retrieve virtualization servers and their virtual infrastructure objects (data centers, clusters, hosts, resource pools, vApps, VMs and so on). In this version, you can browse VMware vSphere, VMware Cloud Director, and HyperV objects.
- Manage computers and Active Directory objects with protection groups.
- Manage unstructured data sources.
- Manage Microsoft Entra ID tenants.
Get All VMware vSphere ServersDeprecated
The HTTP GET request to the /api/v1/inventory/vmware/hosts
path allows you to get an array of all VMware vSphere servers added to the backup infrastructure.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Tape Operator.
query Parameters
skip | integer <int32> Number of VMware vSphere servers to skip. |
limit | integer <int32> Default: 200 Maximum number of VMware vSphere servers to return. |
orderColumn | string (EViRootFiltersOrderColumn) Sorts VMware vSphere servers by one of the VMware vSphere server parameters. |
orderAsc | boolean If |
nameFilter | string Filters VMware vSphere servers by the |
header Parameters
x-api-version required | string Default: 1.3-rev0 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": [
- {
- "inventoryObject": {
- "type": "vCenterServer",
- "hostName": "vcenter01.tech01.local",
- "name": "vcenter01.tech01.local",
- "objectId": "d766a026-a7a7-4d6e-add0-9599a291394f"
}, - "size": "N/A"
}, - {
- "inventoryObject": {
- "type": "vCenterServer",
- "hostName": "vcenter02.tech02.local",
- "name": "vcenter02.tech02.local",
- "objectId": "bd49ae5e-d5ec-4013-8ffa-c91beadce052"
}, - "size": "N/A"
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 200
}
}
Get VMware vSphere Server ObjectsDeprecated
The HTTP GET request to the /api/v1/inventory/vmware/hosts/{name}
path allows you to get an array of virtual infrastructure objects of the VMware vSphere server that has the specified name
.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Tape Operator.
path Parameters
name required | string Name of the VMware vSphere server. |
query Parameters
skip | integer <int32> Number of objects to skip. |
limit | integer <int32> Default: 200 Maximum number of objects to return. |
orderColumn | string (EvCentersInventoryFiltersOrderColumn) Sorts objects by one of the object parameters. |
orderAsc | boolean If |
objectIdFilter | string Filters objects by object ID. |
hierarchyTypeFilter | string (EHierarchyType) Filters objects by hierarchy type. |
nameFilter | string Filters objects by the |
typeFilter | string (EVmwareInventoryType) Filters objects by virtual infrastructure type. |
parentContainerNameFilter | string Filters objects by name of the parent container. |
header Parameters
x-api-version required | string Default: 1.3-rev0 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
{- "data": [
- {
- "inventoryObject": {
- "type": "Datacenter",
- "hostName": "vcenter01.tech.local",
- "name": "Prague",
- "objectId": "datacenter-42371"
}, - "size": "N/A"
}, - {
- "inventoryObject": {
- "type": "Folder",
- "hostName": "vcenter01.tech.local",
- "name": "Templates",
- "objectId": "group-h42373"
}, - "size": "N/A"
}, - {
- "inventoryObject": {
- "type": "Host",
- "hostName": "vcenter01.tech.local",
- "name": "esx03.tech.local",
- "objectId": "host-42428"
}, - "size": "N/A"
}, - {
- "inventoryObject": {
- "type": "ResourcePool",
- "hostName": "vcenter01.tech.local",
- "name": "Services",
- "objectId": "resgroup-65867"
}, - "size": "N/A"
}, - {
- "inventoryObject": {
- "type": "VirtualMachine",
- "hostName": "vcenter01.tech.local",
- "name": "winsrv01",
- "objectId": "vm-62230"
}, - "size": "220 GB"
}
], - "pagination": {
- "total": 5,
- "count": 5,
- "skip": 0,
- "limit": 200
}
}
Rescan Inventory ObjectsDeprecated
The HTTP POST request to the /api/v1/inventory/{hostname}/rescan
path allows you to rescan inventory objects of a virtualization server (or host) that has the specified hostname
.
Available to: Veeam Backup Administrator.
path Parameters
hostname required | string Name of the server. |
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
A HierarchyRescan
task has been started. To check the progress, track the task 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
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "Common",
- "name": "string",
- "state": "Starting",
- "progressPercent": 0,
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "result": "None",
- "additionalInfo": {
- "message": "string",
- "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string"
}
}
Get All Servers
The HTTP POST request to the /api/v1/inventory
path allows you to get an array of all servers and hosts added to the backup infrastructure.
To filter servers by type, use the following possible values:
- For VMware VSphere: VCenterServer, Folder, Host
- For VMware Cloud Director: CloudDirectorServer
- For Microsoft Hyper-V: Scvmm, Cluster, Host
To browse Veeam Agents inventory, use the Get All Protection Groups request.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/json
object (PaginationFilter) Pagination settings. | |
object (FilterExpressionModel) Filter settings. | |
object (SortExpressionModel) Sorting settings. | |
hierarchyType | string Hierarchy type. The possible values you can specify depend on the used request.
|
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
{- "filter": {
- "type": "GroupExpression",
- "operation": "or",
- "items": [
- {
- "type": "PredicateExpression",
- "operation": "endsWith",
- "property": "hostName",
- "value": "tech02.local"
}, - {
- "type": "PredicateExpression",
- "operation": "endsWith",
- "property": "hostName",
- "value": "tech.local"
}
]
}, - "sorting": {
- "property": "name",
- "direction": "descending"
}
}
- 200
- 401
- 403
- 500
{- "data": [
- {
- "type": "vCenterServer",
- "hostName": "vcenter01.tech.local",
- "name": "vcenter01.tech.local",
- "objectId": "b9faa59e-c6cd-44ed-8496-1b429a8f9aca",
- "urn": "vc:vcenter01.tech.local",
- "platform": "VMware",
- "size": "N/A"
}, - {
- "type": "CloudDirectorServer",
- "hostName": "prgclouddirector02.tech02.local",
- "name": "prgclouddirector02.tech02.local",
- "objectId": null,
- "urn": "vcdsystem:prgclouddirector02.tech02.local",
- "platform": "CloudDirector",
- "size": "N/A"
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 200
}, - "hierarchyType": null
}
Get Inventory Objects
The HTTP POST request to the /api/v1/inventory/{hostname}
path allows you to get an array of inventory objects of a virtualization server (or host) that has the specified hostname
.
Available to: Veeam Backup Administrator.
path Parameters
hostname required | string DNS name or IP address of the server. To get this value, run the Get All Servers request. |
query Parameters
resetCache | boolean Deprecated If |
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/json
object (PaginationFilter) Pagination settings. | |
object (FilterExpressionModel) Filter settings. | |
object (SortExpressionModel) Sorting settings. | |
hierarchyType | string Hierarchy type. The possible values you can specify depend on the used request.
|
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.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "filter": {
- "type": "GroupExpression",
- "operation": "and",
- "items": [
- {
- "type": "GroupExpression",
- "operation": "and",
- "items": [
- {
- "type": "PredicateExpression",
- "operation": "greaterThan",
- "property": "Size",
- "value": "10 Mb"
}, - {
- "type": "PredicateExpression",
- "operation": "lessThan",
- "property": "Size",
- "value": "100 Mb"
}
]
}, - {
- "type": "PredicateExpression",
- "operation": "in",
- "property": "Type",
- "value": "VirtualMachine"
}, - {
- "type": "PredicateExpression",
- "operation": "Contains",
- "property": "urn",
- "value": "hostsystem:host-08;"
}
]
}, - "sorting": {
- "property": "Size",
- "direction": "descending"
}
}
- 200
- 401
- 403
- 404
- 500
{- "data": [
- {
- "platform": "VSphere",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "Unknown",
- "objectId": "string",
- "urn": "string",
- "isEnabled": true,
- "metadata": [
- {
- "field": "string",
- "data": "string"
}
]
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}, - "hierarchyType": "string"
}
Get All Protection Groups
The HTTP POST request to the /api/v1/inventory/physical
path allows you to get an array of computers added to protection groups.
This request is only used to get protected computers in order to add them to a backup job. For more information on how to get, add and manage protection groups, see the Protection Groups section.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/json
object (PaginationFilter) Pagination settings. | |
object (FilterExpressionModel) Filter settings. | |
object (SortExpressionModel) Sorting settings. | |
hierarchyType | string Hierarchy type. The possible values you can specify depend on the used request.
|
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
{- "filter": {
- "type": "GroupExpression",
- "operation": "or",
- "items": [
- {
- "type": "PredicateExpression",
- "operation": "endsWith",
- "property": "name",
- "value": "2"
}, - {
- "type": "PredicateExpression",
- "operation": "equals",
- "property": "name",
- "value": "Manually Added"
}
]
}, - "sorting": {
- "property": "name",
- "direction": "descending"
}
}
- 200
- 401
- 403
- 500
{- "data": [
- {
- "type": "ProtectionGroup",
- "id": "ae2e06e9-3234-43d8-9726-259f857eec1b",
- "name": "Linux PG",
- "path": "ProtectionGroup:Linux PG",
- "protectionGroupId": "ae2e06e9-3234-43d8-9726-259f857eec1b",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "730dc485-84c2-4a9d-86e7-2e35d1d5a0be",
- "name": "Manually Added",
- "path": "ProtectionGroup:Manually Added",
- "protectionGroupId": "730dc485-84c2-4a9d-86e7-2e35d1d5a0be",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "c2600b42-7c64-4219-a447-95bd33e70c1a",
- "name": "Microsoft SQL Server PG",
- "path": "ProtectionGroup:Microsoft SQL Server PG",
- "protectionGroupId": "c2600b42-7c64-4219-a447-95bd33e70c1a",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "9a4a758c-7508-4f23-b090-2f4b6c997a38",
- "name": "Microsoft SQL Server PG 2",
- "path": "ProtectionGroup:Microsoft SQL Server PG 2",
- "protectionGroupId": "9a4a758c-7508-4f23-b090-2f4b6c997a38",
- "platform": "Agent"
}, - {
- "type": "ProtectionGroup",
- "id": "2e779447-f12b-483b-a585-cdc6454d13a9",
- "name": "MongoDB PG",
- "path": "ProtectionGroup:MongoDB PG",
- "protectionGroupId": "2e779447-f12b-483b-a585-cdc6454d13a9",
- "platform": "Agent"
}
], - "pagination": {
- "total": 5,
- "count": 5,
- "skip": 0,
- "limit": 200
}
}
Get Inventory Objects for Specific Protection Group
The HTTP POST request to the /api/v1/inventory/physical/{protectionGroupId}
path allows you to get an array of inventory objects of physical or cloud machines for a protection group with the specified protectionGroupId
.
Available to: Veeam Backup Administrator.
path Parameters
protectionGroupId required | string <uuid> Protection group ID. To get the ID, run the Get All Protection Groups request. |
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/json
object (PaginationFilter) Pagination settings. | |
object (FilterExpressionModel) Filter settings. | |
object (SortExpressionModel) Sorting settings. | |
hierarchyType | string Hierarchy type. The possible values you can specify depend on the used request.
|
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.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "filter": {
- "type": "GroupExpression",
- "operation": "or",
- "items": [
- {
- "type": "PredicateExpression",
- "operation": "startsWith",
- "property": "name",
- "value": "a"
}, - {
- "type": "PredicateExpression",
- "operation": "contains",
- "property": "name",
- "value": "007"
}, - {
- "type": "PredicateExpression",
- "operation": "equals",
- "property": "type",
- "value": "ProtectionGroup"
}
]
}, - "sorting": {
- "property": "name",
- "direction": "descending"
}
}
- 200
- 401
- 403
- 404
- 500
{- "data": [
- {
- "platform": "VSphere",
- "size": "string",
- "hostName": "string",
- "name": "string",
- "type": "ProtectionGroup",
- "objectId": "string",
- "urn": "string",
- "isEnabled": true,
- "metadata": [
- {
- "field": "string",
- "data": "string"
}
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "path": "string",
- "parentObjectId": "ef37a585-29e7-4d47-ad23-26f8447ada11",
- "protectionGroupId": "930a1100-371a-4756-a8d7-df90eae31820"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}, - "hierarchyType": "Computers"
}
Get All Unstructured Data Servers
The HTTP GET request to the /api/v1/inventory/unstructuredDataServers
path allows you to get an array of unstructured data servers available on a backup server.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Tape Operator, Veeam Backup Viewer.
query Parameters
skip | integer <int32> Number of unstructured data servers to skip. |
limit | integer <int32> Default: 200 Maximum number of unstructured data servers to return. |
orderColumn | string (EUnstructuredDataServersFiltersOrderColumn) Sorts unstructured data servers by one of the unstructured data server parameters. |
orderAsc | boolean If |
nameFilter | string Filters unstructured data servers by the |
header Parameters
x-api-version required | string Default: 1.3-rev0 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": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FileServer",
- "name": "string",
- "hostId": "70e3fb2d-1cb6-4dbc-ab8d-fa7209aca5dd",
- "processing": {
- "cacheRepositoryId": "6df20968-3080-420e-8a68-c1c515dacc9d",
- "backupIOControlLevel": "Lowest"
}
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}
}
Get Unstructured Data Servers
The HTTP GET request to the /api/v1/inventory/unstructuredDataServers/{id}
path allows you to get an unstructured data server that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Tape Operator, Veeam Backup Viewer.
path Parameters
id required | string <uuid> ID of the unstructured data server. To get the ID, run the Get All Unstructured Data Servers request. |
header Parameters
x-api-version required | string Default: 1.3-rev0 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
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "FileServer",
- "name": "string",
- "hostId": "70e3fb2d-1cb6-4dbc-ab8d-fa7209aca5dd",
- "processing": {
- "cacheRepositoryId": "6df20968-3080-420e-8a68-c1c515dacc9d",
- "backupIOControlLevel": "Lowest"
}
}
Get All Microsoft Entra ID Tenants
The HTTP GET request to the /api/v1/inventory/entraId/tenants
path allows you to get an array of all Microsoft Entra ID tenants added to the backup server.
Available to: Veeam Backup Administrator, Veeam Backup Operator Veeam Restore Operator, Veeam Tape Operator, Veeam Backup Viewer.
query Parameters
skip | integer <int32> Number of Microsoft Entra ID tenants to skip. |
limit | integer <int32> Default: 200 Maximum number of Microsoft Entra ID tenants to return. |
orderColumn | string (EEntraIDTenantsFiltersOrderColumn) Sorts Microsoft Entra ID tenants by one of the tenant parameters. |
orderAsc | boolean If |
nameFilter | string Filters Microsoft Entra ID tenants by the |
header Parameters
x-api-version required | string Default: 1.3-rev0 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": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "azureTenantId": "6ac2a4cb-d64b-453b-b876-903c6cd67915",
- "description": "string",
- "cacheRepositoryId": "6df20968-3080-420e-8a68-c1c515dacc9d",
- "region": "China",
- "authentication": {
- "applicationId": "string",
- "secret": "string",
- "certificate": {
- "certificate": "string",
- "formatType": "pfx",
- "password": "string"
}
}
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}
}
Add Microsoft Entra ID Tenant
The HTTP POST request to the /api/v1/inventory/entraId/tenants
path allows you to add a Microsoft Entra ID tenant to the backup server.
When adding a tenant, specify an existing Microsoft Entra ID app registration or let Veeam Backup & Replication create a new one. If you choose to create a new app registration, you must generate a verification code and register the new application before you start adding a tenant:
- To generate a code, use the Get Microsoft Entra ID Verification Code request.
- To register the new application, use the Register Microsoft Entra ID Application request.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
azureTenantId required | string <uuid> Tenant ID assigned by Microsoft Entra ID. |
creationMode required | string (EEntraIDTenantCreationMode) Connection method that defines whether you want to connect to Microsoft Entra ID using an existing or a newly created app registration. |
description | string Tenant description. |
cacheRepositoryId | string <uuid> ID of a backup repository that is used as a cache repository for the tenant. If you do not specify the ID, the default backup repository is used. |
region | string (EAzureRegionType) Microsoft Azure region. |
object (EntraIDTenantExistingAccountSpec) Existing Microsoft Entra ID app registration. | |
object (EntraIDTenantNewAccountSpec) New Microsoft Entra ID app registration. |
An Infrastructure
session has been created to add the tenant. 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
{- "azureTenantId": "00000000-0000-0000-0000-000000000000",
- "cacheRepositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
- "creationMode": "newAccount",
- "description": "Tenant 1",
- "region": "Global",
- "newAccount": {
- "verificationCode": "D8Q2S9KU3"
}
}
- 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 Microsoft Entra ID Tenant
The HTTP GET request to the /api/v1/inventory/entraId/tenants/{id}
path allows you to get a Microsoft Entra ID tenant that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Tape Operator, Veeam Backup Viewer.
path Parameters
id required | string <uuid> ID of the Microsoft Entra ID tenant. To get the ID, run the Get All Microsoft Entra ID Tenants request. |
header Parameters
x-api-version required | string Default: 1.3-rev0 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
{- "region": "Global",
- "id": "a1401206-5c01-4586-aa81-573aeb027b6d",
- "azureTenantId": "00000000-0000-0000-0000-000000000000",
- "description": "Tenant 1",
- "cacheRepositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
- "authentication": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "secret": null,
- "certificate": null
}
}
Edit Microsoft Entra ID Tenant
The HTTP PUT request to the /api/v1/inventory/entraId/tenants/{id}
path allows you to edit a Microsoft Entra ID tenant that has the specified id
.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> ID of the Microsoft Entra ID tenant. To get the ID, run the Get All Microsoft Entra ID Tenants request. |
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
id required | string <uuid> Tenant ID assigned by Veeam Backup & Replication. |
cacheRepositoryId required | string <uuid> ID of a backup repository that is used as a cache repository for the tenant. |
azureTenantId | string <uuid> Tenant ID assigned by Microsoft Entra ID. |
description | string Tenant description. |
region | string (EAzureRegionType) Microsoft Azure region. |
object (EntraIDTenantAuthenticationModel) Authentication settings. |
Microsoft Entra ID tenant has 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
{- "region": "Global",
- "id": "a1401206-5c01-4586-aa81-573aeb027b6d",
- "azureTenantId": "00000000-0000-0000-0000-000000000000",
- "description": "Tenant 1",
- "cacheRepositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
- "authentication": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "secret": null,
- "certificate": null
}
}
- 200
- 400
- 401
- 403
- 404
- 500
{- "region": "Global",
- "id": "a1401206-5c01-4586-aa81-573aeb027b6d",
- "azureTenantId": "00000000-0000-0000-0000-000000000000",
- "description": "Tenant 1",
- "cacheRepositoryId": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
- "authentication": {
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "secret": null,
- "certificate": null
}
}
Remove Microsoft Entra ID Tenant
The HTTP DELETE request to the /api/v1/inventory/entraId/tenants/{id}
path allows you to remove a Microsoft Entra ID tenant that has the specified id
from the backup infrastructure.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> ID of the Microsoft Entra ID tenant. To get the ID, run the Get All Microsoft Entra ID Tenants request. |
header Parameters
x-api-version required | string Default: 1.3-rev0 Version and revision of the client REST API. Must be in the following format: |
An InfrastructureItemDeletion
session has been created to remove the tenant. 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": "Working",
- "id": "af1a6027-3845-487e-9a16-6849f4775a1e",
- "name": "Infrastructure Item Deletion",
- "jobId": "fc5683a4-8c25-4f8e-97cc-0a40745a5729",
- "creationTime": "2025-06-28T20:21:08.81+01:00",
- "endTime": null,
- "progressPercent": 0,
- "result": null,
- "resourceId": null,
- "resourceReference": null,
- "parentSessionId": null,
- "usn": 0
}
Get Active Directory Objects from Domain
The HTTP GET request to the /api/v1/inventory/activeDirectory/domains/{id}
path allows you to get an array of objects from the Active Directory domain that has the specified id
.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> ID of Active Directory domain. To get the ID, run the Get Active Directory Domains request. |
query Parameters
skip | integer <int32> Number of Active Directory objects to skip. |
limit | integer <int32> Default: 200 Maximum number of Active Directory objects to return. |
orderColumn | string (EADDomainFiltersOrderColumn) Sorts Active Directory objects by one of the parameters. |
orderAsc | boolean Sorts Active Directory objects in the ascending order by the |
fullNameFilter | string Filters Active Directory objects by the |
typeFilter | string Filters Active Directory objects by type. |
header Parameters
x-api-version required | string Default: 1.3-rev0 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
{- "data": [
- {
- "type": "Domain",
- "id": "90f6d1b9-5ce0-4a09-906a-dea8ef4ed140",
- "fullName": "tech.local",
- "domainId": "90f6d1b9-5ce0-4a09-906a-dea8ef4ed140",
- "distinguishedName": "tech.local"
}, - {
- "type": "OrganizationUnit",
- "id": "f7d2830e-4848-4aca-ad23-e05c8bd03fef",
- "fullName": "Atlanta",
- "domainId": "90f6d1b9-5ce0-4a09-906a-dea8ef4ed140",
- "distinguishedName": "OU=Atlanta,DC=tech,DC=local"
}, - {
- "type": "Container",
- "id": "ee67e1d2-cbc5-496f-8fa1-d5ed7ce49f7b",
- "fullName": "Computers",
- "domainId": "90f6d1b9-5ce0-4a09-906a-dea8ef4ed140",
- "distinguishedName": "CN=Computers,DC=tech,DC=local"
}, - {
- "type": "Computer",
- "id": "25f811dd-2a45-421e-88e6-b71c3a86728e",
- "fullName": "demovm.tech.local",
- "domainId": "90f6d1b9-5ce0-4a09-906a-dea8ef4ed140",
- "distinguishedName": "CN=DEMOVM,CN=Computers,DC=tech,DC=local"
}, - {
- "type": "Computer",
- "id": "f509c904-0f1f-4404-b720-34b2b42f6d82",
- "fullName": "enterprise06.tech.local",
- "domainId": "90f6d1b9-5ce0-4a09-906a-dea8ef4ed140",
- "distinguishedName": "CN=ENTERPRISE06,CN=Computers,DC=tech,DC=local"
}
], - "pagination": {
- "total": 487,
- "count": 5,
- "skip": 0,
- "limit": 5
}
}