- About Veeam Backup & Replication REST API
- Overview
- How To
- Changelog
- Login
- 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
- 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
- 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
- Service
- Services
- Connection
- Cloud Browser
- Inventory Browser
- getGet All VMware vSphere Servers
- getGet VMware vSphere Server Objects
- postGet All Servers
- postGet Inventory Objects
- postRescan Inventory Objects
- 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
- Traffic Rules
- General Options
- 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
- Managed Servers
- 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
- Proxies
- WAN Accelerators
- Jobs
- Backups
- Backup Objects
- Restore Points
- Backup Browsers
- getGet All File Restore Mount Points
- getGet File Restore Mount Point
- 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
- 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
- Restore
- getGet All VM Mount Points
- postStart Instant Recovery
- getGet VM Mount Point
- postStop VM Publishing
- postStart VM Migration
- postRestore Entire VMware vSphere VM
- postRestore Entire VMware Cloud Director VM
- getGet All FCD Mounts
- 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
- postUnmount Microsoft Entra ID Tenant
- postStart Microsoft Entra ID Audit Log Restore
- postUnmount Microsoft Entra ID Audit Logs
- Data Integration API
- Tasks
- Replicas
- Replica Restore Points
- Failover
- Failback
- Sessions
- Agents
- 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
The License section defines paths and operations for installing and managing licenses on the backup server.
Install License
The HTTP POST request to the /api/v1/license/install
path allows you to install a license on the backup server.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.2-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
license required | string Base64-encoded string of the content of a license file. |
forceStandaloneMode | boolean This property is only used with backup servers managed by Veeam Backup Enterprise Manager.
|
object (LicenseInstallationPromoSpec) Promo license settings. |
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.
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{- "status": "Valid",
- "type": "Subscription",
- "edition": "EnterprisePlus",
- "cloudConnect": "Enterprise",
- "expirationDate": "2024-12-31T00:00:00Z",
- "licensedTo": "Veeam Software Group GmbH",
- "socketLicenseSummary": null,
- "instanceLicenseSummary": {
- "package": "Suite",
- "licensedInstancesNumber": 100,
- "usedInstancesNumber": 2,
- "newInstancesNumber": 0,
- "rentalInstancesNumber": 0,
- "objects": [
- {
- "type": "VM",
- "count": 1,
- "multiplier": 1,
- "usedInstancesNumber": 1
}, - {
- "type": "FileShare",
- "count": 0,
- "multiplier": 1,
- "usedInstancesNumber": 0
}, - {
- "type": "Application",
- "count": 1,
- "multiplier": 1,
- "usedInstancesNumber": 1
}
], - "workload": [
- {
- "name": "linbase01",
- "hostName": "vcenter01.tech.local",
- "usedInstancesNumber": 1,
- "type": "VM",
- "instanceId": "d8175a8b-942c-4ddb-a36d-0690f1b875d7"
}, - {
- "name": "WINORCL01",
- "hostName": "WINORCL01",
- "usedInstancesNumber": 1,
- "type": "Application",
- "instanceId": "71c41142-888b-bc72-c46d-74322c9b32eb"
}, - {
- "name": "winsrv88:/C:\\Shares\\nfs_share",
- "hostName": "winsrv88",
- "usedInstancesNumber": 0,
- "type": "FileShare",
- "instanceId": "0405a174-dc1a-473a-a2cf-b5b1c8b1b620"
}
], - "promoInstancesNumber": null,
- "licensedInstancesPromoIncludedNumber": null,
- "promoExpiresOn": null
}, - "capacityLicenseSummary": null,
- "supportId": "02067762",
- "supportExpirationDate": null,
- "autoUpdateEnabled": true,
- "freeAgentInstanceConsumptionEnabled": true
}
Get Installed License
The HTTP GET request to the /api/v1/license
path allows you to get the installed license on the backup server.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.2-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
{- "status": "Valid",
- "type": "Subscription",
- "edition": "EnterprisePlus",
- "cloudConnect": "Enterprise",
- "expirationDate": "2024-12-31T00:00:00Z",
- "licensedTo": "Veeam Software Group GmbH",
- "socketLicenseSummary": null,
- "instanceLicenseSummary": {
- "package": "Suite",
- "licensedInstancesNumber": 100,
- "usedInstancesNumber": 2,
- "newInstancesNumber": 0,
- "rentalInstancesNumber": 0,
- "objects": [
- {
- "type": "VM",
- "count": 1,
- "multiplier": 1,
- "usedInstancesNumber": 1
}, - {
- "type": "FileShare",
- "count": 0,
- "multiplier": 1,
- "usedInstancesNumber": 0
}, - {
- "type": "Application",
- "count": 1,
- "multiplier": 1,
- "usedInstancesNumber": 1
}
], - "workload": [
- {
- "name": "linbase01",
- "hostName": "vcenter01.tech.local",
- "usedInstancesNumber": 1,
- "type": "VM",
- "instanceId": "d8175a8b-942c-4ddb-a36d-0690f1b875d7"
}, - {
- "name": "WINORCL01",
- "hostName": "WINORCL01",
- "usedInstancesNumber": 1,
- "type": "Application",
- "instanceId": "71c41142-888b-bc72-c46d-74322c9b32eb"
}, - {
- "name": "winsrv88:/C:\\Shares\\nfs_share",
- "hostName": "winsrv88",
- "usedInstancesNumber": 0,
- "type": "FileShare",
- "instanceId": "0405a174-dc1a-473a-a2cf-b5b1c8b1b620"
}
], - "promoInstancesNumber": null,
- "licensedInstancesPromoIncludedNumber": null,
- "promoExpiresOn": null
}, - "capacityLicenseSummary": null,
- "supportId": "02067762",
- "supportExpirationDate": null,
- "autoUpdateEnabled": true,
- "freeAgentInstanceConsumptionEnabled": true
}
Remove License
The HTTP POST request to the /api/v1/license/remove
path allows you to remove a license from the backup server.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.2-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
forceStandaloneMode | boolean This property is only used with backup servers managed by Veeam Backup Enterprise Manager.
|
section | string (ELicenseSectionType) Type of the removed license. |
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
{- "section": "Socket"
}
- 200
- 400
- 401
- 403
- 500
{- "status": "Valid",
- "type": "Subscription",
- "edition": "EnterprisePlus",
- "cloudConnect": "Enterprise",
- "expirationDate": "2024-12-31T00:00:00Z",
- "licensedTo": "Veeam Software Group GmbH",
- "socketLicenseSummary": null,
- "instanceLicenseSummary": {
- "package": "Suite",
- "licensedInstancesNumber": 100,
- "usedInstancesNumber": 2,
- "newInstancesNumber": 0,
- "rentalInstancesNumber": 0,
- "objects": [
- {
- "type": "VM",
- "count": 1,
- "multiplier": 1,
- "usedInstancesNumber": 1
}, - {
- "type": "FileShare",
- "count": 0,
- "multiplier": 1,
- "usedInstancesNumber": 0
}, - {
- "type": "Application",
- "count": 1,
- "multiplier": 1,
- "usedInstancesNumber": 1
}
], - "workload": [
- {
- "name": "linbase01",
- "hostName": "vcenter01.tech.local",
- "usedInstancesNumber": 1,
- "type": "VM",
- "instanceId": "d8175a8b-942c-4ddb-a36d-0690f1b875d7"
}, - {
- "name": "WINORCL01",
- "hostName": "WINORCL01",
- "usedInstancesNumber": 1,
- "type": "Application",
- "instanceId": "71c41142-888b-bc72-c46d-74322c9b32eb"
}, - {
- "name": "winsrv88:/C:\\Shares\\nfs_share",
- "hostName": "winsrv88",
- "usedInstancesNumber": 0,
- "type": "FileShare",
- "instanceId": "0405a174-dc1a-473a-a2cf-b5b1c8b1b620"
}
], - "promoInstancesNumber": null,
- "licensedInstancesPromoIncludedNumber": null,
- "promoExpiresOn": null
}, - "capacityLicenseSummary": null,
- "supportId": "02067762",
- "supportExpirationDate": null,
- "autoUpdateEnabled": true,
- "freeAgentInstanceConsumptionEnabled": true
}
Create License Usage Report
The HTTP POST request to the /api/v1/license/createReport
path allows you to create a license usage report for the backup server.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.2-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
reportFormat required | string (ELicenseReportFormat) Format of the license usage report. |
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
{- "reportFormat": "Html"
}
- 200
- 400
- 401
- 403
- 500
{ "products": [ { "productVersion": "12.3.0.291", "edition": "Enterprise Plus", "installationId": "01d17da0-a5ee-4969-9f36-2dc80bf03ee6", "data": [ { "instances": { "supportId": "02067762", "licenseId": "11112222-1111-2222-3333-111122223333", "licenseType": "Subscription", "counters": [ { "counterType": "VBR-VBR-APPLICATION-PLUGIN", "multiplier": "1", "instancesInGrace": "0", "numberOfObjects": 1, "numberOfNewObjects": 0, "numberOfRentalObjects": 0, "numberOfRemovedObjects": 0, "consumedInstances": "1", "newInstances": "0", "rentalInstances": "0", "removedInstances": "0", "reasonForRemoval": "" }, { "counterType": "VBR-VBR-VM-VSPHERE", "multiplier": "1", "instancesInGrace": "0", "numberOfObjects": 1, "numberOfNewObjects": 0, "numberOfRentalObjects": 0, "numberOfRemovedObjects": 0, "consumedInstances": "1", "newInstances": "0", "rentalInstances": "0", "removedInstances": "0", "reasonForRemoval": "" } ] } } ] } ] }
Renew Installed License
The HTTP POST request to the /api/v1/license/renew
path allows you to renew the license on the backup server.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.2-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
forceStandaloneMode | boolean This property is only used with backup servers managed by Veeam Backup Enterprise Manager.
|
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
{- "forceStandaloneMode": true
}
- 200
- 400
- 401
- 403
- 500
Get Consumption of Socket Licenses
The HTTP GET request to the /api/v1/license/sockets
path allows you to get information about the consumption of socket licenses on the backup server.
Available to: Veeam Backup Administrator.
query Parameters
skip | integer <int32> Number of workloads to skip. |
limit | integer <int32> Maximum number of workloads to return. |
orderColumn | string (ESocketWorkloadsFiltersOrderColumn) Sorts workloads by one of the socket workload parameters. |
orderAsc | boolean If |
nameFilter | string Filters workloads by the |
hostNameFilter | string Filters workloads by hostname. |
hostIdFilter | string <uuid> Filters workloads by host ID. |
socketsNumberFilter | integer Filters workloads by the number of sockets they use. |
coresNumberFilter | integer Filters workloads by the number of CPU cores they use. |
typeFilter | string (ESocketLicenseObjectType) Filters workloads by host type. |
header Parameters
x-api-version required | string Default: 1.2-rev0 Version and revision of the client REST API. Must be in the following format: |
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.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "data": {
- "type": "vSphere",
- "name": "prgtwesx01.tech.local",
- "hostName": "prgtwesx01.tech.local",
- "hostId": "a6ca6129-5c58-47e3-b35c-ff1187d88ee4",
- "socketsNumber": 2,
- "coresNumber": 16
}, - "pagination": {
- "total": 1,
- "count": 1,
- "skip": null,
- "limit": null
}
}
Revoke Socket License
The HTTP POST request to the /api/v1/license/sockets/{hostId}/revoke
path allows you to revoke a socket license from the host with the specified hostId
.
Available to: Veeam Backup Administrator.
path Parameters
hostId required | string <uuid> ID of the licensed host. |
header Parameters
x-api-version required | string Default: 1.2-rev0 Version and revision of the client REST API. Must be in the following format: |
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.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "type": "vSphere",
- "name": "prgtwesx01.tech.local",
- "hostName": "prgtwesx01.tech.local",
- "hostId": "a6ca6129-5c58-47e3-b35c-ff1187d88ee4",
- "socketsNumber": 2,
- "coresNumber": 16
}
Get Instance Licenses Consumption
The HTTP GET request to the /api/v1/license/instances
path allows you to get information about instance license consumption on the backup server.
Available to: Veeam Backup Administrator.
query Parameters
skip | integer <int32> Number of workloads to skip. |
limit | integer <int32> Maximum number of workloads to return. |
orderColumn | string (EInstanceWorkloadsFiltersOrderColumn) Sorts workloads by one of the workload parameters. |
orderAsc | boolean If |
nameFilter | string Filters workloads by the |
hostNameFilter | string Filters workloads by hostname. |
usedInstancesNumberFilter | number <double> Filters workloads by the number of consumed instances. |
typeFilter | string Filters workloads by workload type. |
instanceIdFilter | string <uuid> Filters workloads by instance ID. |
header Parameters
x-api-version required | string Default: 1.2-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": [
- {
- "name": "linbase01",
- "hostName": "vcenter01.tech.local",
- "usedInstancesNumber": 1,
- "type": "VM",
- "instanceId": "d8175a8b-942c-4ddb-a36d-0690f1b875d7"
}, - {
- "name": "WINORCL01",
- "hostName": "WINORCL01",
- "usedInstancesNumber": 1,
- "type": "Application",
- "instanceId": "71c41142-888b-bc72-c46d-74322c9b32eb"
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": null,
- "limit": null
}
}
Assign Instance License
The HTTP POST request to the /api/v1/license/instances/{instanceId}/assign
path allows you to set the product edition for a standalone Veeam Agent with the specified instanceId
.
Available to: Veeam Backup Administrator.
path Parameters
instanceId required | string <uuid> Instance ID. |
header Parameters
x-api-version required | string Default: 1.2-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/json
role required | string (EInstanceLicenseWorkloadRole) Product edition that you want to assign to the standalone Veeam Agent. |
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
{- "role": "Workstation"
}
- 200
- 400
- 401
- 403
- 500
{- "name": "linbase02",
- "hostName": "Standalone",
- "usedInstancesNumber": 1,
- "type": "Server",
- "instanceId": "4225c1d4-e095-92db-d123-2d635a38c390"
}
Revoke Instance License
The HTTP POST request to the /api/v1/license/instances/{instanceId}/revoke
path allows you to revoke an instance license from the workload that has the specified instanceId
.
Available to: Veeam Backup Administrator.
path Parameters
instanceId required | string <uuid> Instance ID. |
header Parameters
x-api-version required | string Default: 1.2-rev0 Version and revision of the client REST API. Must be in the following format: |
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.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "name": "winsrv88:/C:\\Shares\\nfs_share",
- "hostName": "winsrv88",
- "usedInstancesNumber": 0,
- "type": "FileShare",
- "instanceId": "0405a174-dc1a-473a-a2cf-b5b1c8b1b620"
}
Get Capacity License Consumption
The HTTP GET request to the /api/v1/license/capacity
path allows you to get information about the capacity license instance consumption by file shares and object storages.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.2-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
{- "workloads": [
- {
- "type": "FileShare",
- "name": "winsrv88:/C:\\Shares\\nfs_share",
- "usedCapacityTb": 0,
- "instanceId": "0405a174-dc1a-473a-a2cf-b5b1c8b1b620"
}
]
}
Revoke Capacity License From Unstructured Data Workload
The HTTP POST request to the /api/v1/license/capacity/{instanceId}/revoke
path allows you to revoke a capacity instance with the specified instanceId
from an unstructured data workload (file share or object storage).
Available to: Veeam Backup Administrator.
path Parameters
instanceId required | string <uuid> Instance ID. |
header Parameters
x-api-version required | string Default: 1.2-rev0 Version and revision of the client REST API. Must be in the following format: |
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.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "workloads": [
- {
- "name": "winsrv88:/C:\\Shares\\nfs_share",
- "usedCapacityTb": 0,
- "type": "FileShare",
- "instanceId": "0405a174-dc1a-473a-a2cf-b5b1c8b1b620"
}
]
}
Update License
The HTTP POST request to the /api/v1/license/update
path allows you to manually update your license.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.2-rev0 Version and revision of the client REST API. Must be in the following format: |
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.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "message": "Veeam Backup and Replication:\n License key is up-to-date",
- "isSuccessful": true
}
Enable or Disable License Auto Update
The HTTP POST request to the /api/v1/license/autoupdate
allows you to enable or disable automatic update of the installed license.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.2-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/json
enabled required | boolean If |
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
{- "enabled": true
}
- 200
- 400
- 401
- 403
- 500
{- "status": "Valid",
- "type": "Subscription",
- "edition": "EnterprisePlus",
- "cloudConnect": "Enterprise",
- "expirationDate": "2024-12-31T00:00:00Z",
- "licensedTo": "Veeam Software Group GmbH",
- "socketLicenseSummary": null,
- "instanceLicenseSummary": {
- "package": "Suite",
- "licensedInstancesNumber": 100,
- "usedInstancesNumber": 2,
- "newInstancesNumber": 0,
- "rentalInstancesNumber": 0,
- "objects": [
- {
- "type": "VM",
- "count": 1,
- "multiplier": 1,
- "usedInstancesNumber": 1
}, - {
- "type": "FileShare",
- "count": 0,
- "multiplier": 1,
- "usedInstancesNumber": 0
}, - {
- "type": "Application",
- "count": 1,
- "multiplier": 1,
- "usedInstancesNumber": 1
}
], - "workload": [
- {
- "name": "linbase01",
- "hostName": "vcenter01.tech.local",
- "usedInstancesNumber": 1,
- "type": "VM",
- "instanceId": "d8175a8b-942c-4ddb-a36d-0690f1b875d7"
}, - {
- "name": "WINORCL01",
- "hostName": "WINORCL01",
- "usedInstancesNumber": 1,
- "type": "Application",
- "instanceId": "71c41142-888b-bc72-c46d-74322c9b32eb"
}, - {
- "name": "winsrv88:/C:\\Shares\\nfs_share",
- "hostName": "winsrv88",
- "usedInstancesNumber": 0,
- "type": "FileShare",
- "instanceId": "0405a174-dc1a-473a-a2cf-b5b1c8b1b620"
}
], - "promoInstancesNumber": null,
- "licensedInstancesPromoIncludedNumber": null,
- "promoExpiresOn": null
}, - "capacityLicenseSummary": null,
- "supportId": "02067762",
- "supportExpirationDate": null,
- "autoUpdateEnabled": true,
- "freeAgentInstanceConsumptionEnabled": true
}
Enable or Disable Instance Consumption for Unlicensed Agents
The HTTP POST request to the /api/v1/license/agentConsumption
allows you to enable or disable unlicensed standalone agents to consume instances.
Available to: Veeam Backup Administrator.
header Parameters
x-api-version required | string Default: 1.2-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/json
enabled required | boolean If |
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
{- "enabled": true
}
- 200
- 400
- 401
- 403
- 500
{- "status": "Valid",
- "type": "Subscription",
- "edition": "EnterprisePlus",
- "cloudConnect": "Enterprise",
- "expirationDate": "2024-12-31T00:00:00Z",
- "licensedTo": "Veeam Software Group GmbH",
- "socketLicenseSummary": null,
- "instanceLicenseSummary": {
- "package": "Suite",
- "licensedInstancesNumber": 100,
- "usedInstancesNumber": 2,
- "newInstancesNumber": 0,
- "rentalInstancesNumber": 0,
- "objects": [
- {
- "type": "VM",
- "count": 1,
- "multiplier": 1,
- "usedInstancesNumber": 1
}, - {
- "type": "FileShare",
- "count": 0,
- "multiplier": 1,
- "usedInstancesNumber": 0
}, - {
- "type": "Application",
- "count": 1,
- "multiplier": 1,
- "usedInstancesNumber": 1
}
], - "workload": [
- {
- "name": "linbase01",
- "hostName": "vcenter01.tech.local",
- "usedInstancesNumber": 1,
- "type": "VM",
- "instanceId": "d8175a8b-942c-4ddb-a36d-0690f1b875d7"
}, - {
- "name": "WINORCL01",
- "hostName": "WINORCL01",
- "usedInstancesNumber": 1,
- "type": "Application",
- "instanceId": "71c41142-888b-bc72-c46d-74322c9b32eb"
}, - {
- "name": "winsrv88:/C:\\Shares\\nfs_share",
- "hostName": "winsrv88",
- "usedInstancesNumber": 0,
- "type": "FileShare",
- "instanceId": "0405a174-dc1a-473a-a2cf-b5b1c8b1b620"
}
], - "promoInstancesNumber": null,
- "licensedInstancesPromoIncludedNumber": null,
- "promoExpiresOn": null
}, - "capacityLicenseSummary": null,
- "supportId": "02067762",
- "supportExpirationDate": null,
- "autoUpdateEnabled": true,
- "freeAgentInstanceConsumptionEnabled": true
}