- 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
The Repositories section defines paths and operations for managing backup repositories.
In this version, the REST API supports the following storage types: direct attached storages (Microsoft Windows and Linux servers), network attached storages (SMB and NFS shares), object storages and Veeam Data Cloud Vault repositories. For details on how to add an object storage repository, see Adding Object Storage Repository.
Get All Repositories
The HTTP GET request to the /api/v1/backupInfrastructure/repositories
path allows you to get an array of all backup repositories that are added to the backup infrastructure.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Backup Viewer, Veeam Tape Operator.
query Parameters
skip | integer <int32> Number of repositories to skip. |
limit | integer <int32> Default: 200 Maximum number of repositories to return. |
orderColumn | string (ERepositoryFiltersOrderColumn) Sorts repositories by one of the repository parameters. |
orderAsc | boolean If |
nameFilter | string Filters repositories by the |
typeFilter | Array of strings (ERepositoryType) Filters repositories by repository type. |
hostIdFilter | string <uuid> Filters repositories by ID of the backup server. |
pathFilter | string Filters repositories by path to the folder where backup files are stored. |
vmbApiFilter | string Filters repositories by VM Backup API parameters converted to the base64 string. To obtain the string, call the |
vmbApiPlatform | string <uuid> Filters repositories by ID of a platform that you use to communicate with VM Backup API. |
excludeExtents | boolean 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: |
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": [
- {
- "hostId": "83ba3602-158f-45cd-affc-0885c10b84fc",
- "repository": {
- "path": "C:\\Backup Repository\\enterprise01",
- "taskLimitEnabled": true,
- "maxTaskCount": 4,
- "readWriteLimitEnabled": true,
- "readWriteRate": 0,
- "advancedSettings": {
- "RotatedDriveCleanupMode": "Disabled",
- "alignDataBlocks": true,
- "decompressBeforeStoring": false,
- "rotatedDrives": false,
- "perVmBackup": true
}
}, - "mountServer": {
- "mountServerId": "83ba3602-158f-45cd-affc-0885c10b84fc",
- "writeCacheFolder": "C:\\ProgramData\\Veeam\\Backup\\IRCache\\",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 1063,
- "vPowerNFSPort": 2049
}
}, - "type": "WinLocal",
- "id": "3c5557b1-71e8-4508-8dce-4e743b294ef5",
- "name": "Backup Repository 1",
- "description": "enterprise03",
- "uniqueId": "3C5557B171E845088DCE4E743B294EF5"
}, - {
- "hostId": "6745a759-2205-4cd2-b172-8ec8f7e60ef8",
- "repository": {
- "path": "C:\\Backup",
- "taskLimitEnabled": true,
- "maxTaskCount": 4,
- "readWriteLimitEnabled": true,
- "readWriteRate": 0,
- "advancedSettings": {
- "RotatedDriveCleanupMode": "Disabled",
- "alignDataBlocks": true,
- "decompressBeforeStoring": false,
- "rotatedDrives": false,
- "perVmBackup": true
}
}, - "mountServer": {
- "mountServerId": "6745a759-2205-4cd2-b172-8ec8f7e60ef8",
- "writeCacheFolder": "C:\\ProgramData\\Veeam\\Backup\\IRCache\\",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 1058,
- "vPowerNFSPort": 2049
}
}, - "type": "WinLocal",
- "id": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
- "name": "Default Backup Repository",
- "description": "Created by Veeam Backup",
- "uniqueId": "88788f9ed8f54eb4bc4f9b3f5403bcec"
}, - {
- "hostId": "3251ddfc-3691-4d20-a43e-860dc275147e",
- "repository": {
- "path": "/home/repository",
- "taskLimitEnabled": true,
- "maxTaskCount": 4,
- "readWriteLimitEnabled": true,
- "readWriteRate": 1,
- "useFastCloningOnXFSVolumes": false,
- "advancedSettings": {
- "RotatedDriveCleanupMode": "Disabled",
- "alignDataBlocks": true,
- "decompressBeforeStoring": true,
- "rotatedDrives": false,
- "perVmBackup": true
}
}, - "mountServer": {
- "mountServerId": "6745a759-2205-4cd2-b172-8ec8f7e60ef8",
- "writeCacheFolder": "C:\\ProgramData\\Veeam\\Backup\\IRCache\\",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 1058,
- "vPowerNFSPort": 2049
}
}, - "type": "LinuxLocal",
- "id": "4e2a20fc-487d-44ed-a5a8-8058c62bc3a0",
- "name": "Linux Backup Repository",
- "description": "Created by TECH\\sheila.d.cory",
- "uniqueId": "4E2A20FC487D44EDA5A88058C62BC3A0"
}
], - "pagination": {
- "total": 3,
- "count": 3,
- "skip": 0,
- "limit": 200
}
}
Add Repository
The HTTP POST request to the /api/v1/backupInfrastructure/repositories
path allows you to add a repository to the backup infrastructure.
Available to: Veeam Backup Administrator.
query Parameters
overwriteOwner | boolean 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/jsonrequired
description required | string Description of the backup repository. |
name required | string Name of the backup repository. |
type required | string (ERepositoryType) Repository type. |
hostId required | string <uuid> ID of the server that is used as a backup repository. |
required | object (MountServersSettingsModel) Mount server settings. |
required | object (WindowsLocalRepositorySettingsModel) Repository settings. |
uniqueId | string Unique ID that identifies the backup repository. |
importBackup | boolean If |
importIndex | boolean If |
An Infrastructure
session has been created to add the repository. 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
{- "hostId": "565e7001-edf0-4724-8191-767592537016",
- "repository": {
- "path": "C:\\Backup Repository\\enterprise01",
- "taskLimitEnabled": true,
- "maxTaskCount": 4,
- "readWriteLimitEnabled": true,
- "readWriteRate": 0,
- "advancedSettings": {
- "RotatedDriveCleanupMode": "Disabled",
- "alignDataBlocks": true,
- "decompressBeforeStoring": false,
- "rotatedDrives": false,
- "perVmBackup": true
}
}, - "mountServer": {
- "mountServerId": "83ba3602-158f-45cd-affc-0885c10b84fc",
- "writeCacheFolder": "C:\\ProgramData\\Veeam\\Backup\\IRCache5\\",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 1063,
- "vPowerNFSPort": 2049
}
}, - "type": "WinLocal",
- "name": "Backup Repository 5",
- "description": "Repository on enterprise05",
- "uniqueId": "565e7001-edf0-4724-8191-767592537016"
}
- 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"
}
Rescan Repositories
The HTTP POST request to the /api/v1/backupInfrastructure/repositories/rescan
path allows you to rescan an array of the specified repositories.
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
repositoryIds required | Array of strings <uuid> Array of repository IDs to rescan. |
A ConfigurationResynchronize
session has been created to rescan the repositories. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "repositoryIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
- 201
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Get All Repository States
The HTTP GET request to the /api/v1/backupInfrastructure/repositories/states
path allows you to get an array of all repository states. The states include repository location and brief statistics, such as repository capacity, free and used space.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Backup Viewer, Veeam Tape Operator.
query Parameters
skip | integer <int32> Number of repository states to skip. |
limit | integer <int32> Default: 200 Maximum number of repository states to return. |
orderColumn | string (ERepositoryStatesFiltersOrderColumn) Sorts repository states by one of the state parameters. |
orderAsc | boolean If |
idFilter | string <uuid> Filters repository states by repository ID. |
nameFilter | string Filters repository states by the |
typeFilter | string (ERepositoryType) Filters repository states by repository type. |
capacityFilter | number <double> Filters repository states by repository capacity. |
freeSpaceFilter | number <double> Filters repository states by repository free space. |
usedSpaceFilter | number <double> Filters repository states by repository used space. |
isOnlineFilter | boolean Filters repository states by repository connection status. |
isOutOfDateFilter | boolean If |
sobrIdFilter | string <uuid> Filters repository states by repository ID. |
sobrExtentTypeFilter | Array of strings (EScaleOutRepositoryExtentType) Filters repository states based on the extent type of the scale-out backup repository. |
sobrMembershipFilter | string Filters repository states by the |
excludeExtents | boolean Filters out repositories that are a part of an extent for scale-out backup repositories. |
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": [
- {
- "type": "WinLocal",
- "id": "d4b5e196-f3ad-474c-99bc-dfef051dae07",
- "name": "Backup Repository 1",
- "description": "Created by TECH\\sheila.d.cory",
- "hostId": "e22b8842-c454-4036-abd5-f468c3248aaf",
- "hostName": "enterprise03.tech.local",
- "path": "C:\\Backup Repository",
- "capacityGB": 299.4,
- "freeGB": 217.8,
- "usedSpaceGB": 173.4,
- "isOnline": true,
- "isOutOfDate": "false"
}, - {
- "type": "WinLocal",
- "id": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",
- "name": "Default Backup Repository",
- "description": "Created by Veeam Backup",
- "hostId": "6745a759-2205-4cd2-b172-8ec8f7e60ef8",
- "hostName": "enterprise06.tech.local",
- "path": "C:\\Backup",
- "capacityGB": 99.4,
- "freeGB": 16.4,
- "usedSpaceGB": 30.4,
- "isOnline": true,
- "isOutOfDate": "true"
}
], - "pagination": {
- "total": 2,
- "count": 2,
- "skip": 0,
- "limit": 200
}
}
Get Repository
The HTTP GET request to the /api/v1/backupInfrastructure/repositories/{id}
path allows you to get a backup repository that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Backup Viewer, Veeam Tape Operator.
path Parameters
id required | string <uuid> Backup repository ID. To get the ID, run the Get All Repositories 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
{- "hostId": "25d2b2f8-ff7d-458d-a558-3ffc937d2624",
- "repository": {
- "path": "/home/administrator/Repository",
- "taskLimitEnabled": true,
- "maxTaskCount": 4,
- "readWriteLimitEnabled": true,
- "readWriteRate": 4,
- "useFastCloningOnXFSVolumes": false,
- "advancedSettings": {
- "RotatedDriveCleanupMode": "Disabled",
- "alignDataBlocks": true,
- "decompressBeforeStoring": false,
- "rotatedDrives": false,
- "perVmBackup": true
}
}, - "mountServer": {
- "mountServerId": "6745a759-2205-4cd2-b172-8ec8f7e60ef8",
- "writeCacheFolder": "C:\\ProgramData\\Veeam\\Backup\\IRCache\\",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 1058,
- "vPowerNFSPort": 2049
}
}, - "type": "LinuxLocal",
- "id": "d2f2d569-1dfe-4294-89df-d429cedffdc1",
- "name": "Backup Repository 1",
- "description": "Created by TECH\\sheila.d.cory",
- "uniqueId": "D2F2D5691DFE429489DFD429CEDFFDC1"
}
Edit Repository
The HTTP PUT request to the /api/v1/backupInfrastructure/repositories/{id}
path allows you to edit a backup repository that has the specified id
.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> Backup repository ID. To get the ID, run the Get All Repositories 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
description required | string Description of the backup repository. |
id required | string <uuid> Backup repository ID. |
name required | string Name of the backup repository. |
type required | string (ERepositoryType) Repository type. |
hostId required | string <uuid> ID of the server that is used as a backup repository. |
required | object (MountServersSettingsModel) Mount server settings. |
required | object (WindowsLocalRepositorySettingsModel) Repository settings. |
uniqueId | string Unique ID that identifies the backup repository. |
An Infrastructure
session has been created to edit the repository. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "hostId": "25d2b2f8-ff7d-458d-a558-3ffc937d2624",
- "repository": {
- "path": "/home/administrator/Repository",
- "taskLimitEnabled": true,
- "maxTaskCount": 4,
- "readWriteLimitEnabled": true,
- "readWriteRate": 4,
- "useFastCloningOnXFSVolumes": false,
- "advancedSettings": {
- "RotatedDriveCleanupMode": "Disabled",
- "alignDataBlocks": true,
- "decompressBeforeStoring": false,
- "rotatedDrives": false,
- "perVmBackup": true
}
}, - "mountServer": {
- "mountServerId": "6745a759-2205-4cd2-b172-8ec8f7e60ef8",
- "writeCacheFolder": "C:\\ProgramData\\Veeam\\Backup\\IRCache\\",
- "vPowerNFSEnabled": true,
- "vPowerNFSPortSettings": {
- "mountPort": 1058,
- "vPowerNFSPort": 2049
}
}, - "type": "LinuxLocal",
- "id": "d2f2d569-1dfe-4294-89df-d429cedffdc1",
- "name": "Backup Repository 1",
- "description": "Created by TECH\\sheila.d.cory",
- "uniqueId": "D2F2D5691DFE429489DFD429CEDFFDC1"
}
- 201
- 400
- 401
- 403
- 404
- 500
{- "sessionType": "Infrastructure",
- "state": "Working",
- "id": "89fe3413-cde0-4061-925a-6d72857db45c",
- "name": "Infrastructure Item Saving",
- "jobId": "89fe3413-cde0-4061-925a-6d72857db45c",
- "creationTime": "2025-07-30T13:01:27.491999+02:00",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "",
- "isCanceled": false
}, - "usn": 331548,
- "initiatedBy": ".\\veeam-rest-service"
}
Remove Repository
The HTTP DELETE request to the /api/v1/backupInfrastructure/repositories/{id}
path allows you to remove a backup repository that has the specified id
from the backup infrastructure.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> Backup repository ID. To get the ID, run the Get All Repositories request. |
query Parameters
deleteBackups | boolean 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: |
Repository has been removed.
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
- 204
- 401
- 403
- 404
- 500
{ }
Get All Scale-Out Backup Repositories
The HTTP GET request to the /api/v1/backupInfrastructure/scaleOutRepositories
path allows you to get an array of all scale-out backup repositories that are added to the backup infrastructure.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Backup Viewer, Veeam Tape Operator.
query Parameters
skip | integer <int32> Number of repositories to skip. |
limit | integer <int32> Default: 200 Maximum number of repositories to return. |
orderColumn | string (EScaleOutRepositoryFiltersOrderColumn) Sorts repositories by one of the repository parameters. |
orderAsc | boolean If |
nameFilter | string Filters repositories 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",
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "performanceTier": {
- "performanceExtents": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": [
- "Normal"
]
}
], - "advancedSettings": {
- "perVmBackup": true,
- "fullWhenExtentOffline": true
}
}, - "placementPolicy": {
- "type": "DataLocality",
- "settings": [
- {
- "name": "string",
- "extentId": "3c36c1a5-b874-4399-9970-34664ab7184e",
- "allowedBackups": "All"
}
], - "enforceStrictPlacementPolicy": true
}, - "capacityTier": {
- "isEnabled": true,
- "extents": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "offloadWindow": {
- "days": [
- {
- "day": "monday",
- "hours": "string"
}
]
}, - "backupHealth": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": false,
- "days": [
- "monday"
], - "localTime": "14:15:22Z"
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonth": 0,
- "months": [
- "January"
], - "localTime": "14:15:22Z",
- "isLastDayOfMonth": true
}
}, - "copyPolicyEnabled": true,
- "movePolicyEnabled": true,
- "operationalRestorePeriodDays": 0,
- "overridePolicy": {
- "isEnabled": true,
- "overrideSpaceThresholdPercents": 0
}, - "encryption": {
- "isEnabled": true,
- "encryptionType": "ByUserPassword",
- "encryptionPasswordId": "c26b46c1-e3e5-424c-948f-0a3fa5a19ab7",
- "encryptionPasswordUniqueId": "string",
- "kmsServerId": "b99403b3-0207-49d5-b267-d9213abf6699"
}
}, - "archiveTier": {
- "isEnabled": true,
- "extentId": "3c36c1a5-b874-4399-9970-34664ab7184e",
- "archivePeriodDays": 0,
- "advancedSettings": {
- "costOptimizedArchiveEnabled": true,
- "archiveDeduplicationEnabled": true
}
}
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}
}
Add Scale-Out Backup Repository
The HTTP POST request to the /api/v1/backupInfrastructure/scaleOutRepositories
path allows you to add a scale-out backup repository to the backup infrastructure.
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
name required | string Name of the scale-out backup repository. |
description required | string Description of the scale-out backup repository. |
required | object (PerformanceTierSpec) Performance tier settings. |
uniqueId | string Unique ID assigned to the scale-out backup repository. |
object (PlacementPolicyModel) Backup file placement policy. | |
object (CapacityTierModel) Capacity tier. | |
object (ArchiveTierModel) Archive tier. |
An Infrastructure
session has been created to add the repository. 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
{- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "performanceTier": {
- "performanceExtents": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "advancedSettings": {
- "perVmBackup": true,
- "fullWhenExtentOffline": true
}
}, - "placementPolicy": {
- "type": "DataLocality",
- "settings": [
- {
- "name": "string",
- "extentId": "3c36c1a5-b874-4399-9970-34664ab7184e",
- "allowedBackups": "All"
}
], - "enforceStrictPlacementPolicy": true
}, - "capacityTier": {
- "isEnabled": true,
- "extents": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "offloadWindow": {
- "days": [
- {
- "day": "monday",
- "hours": "string"
}
]
}, - "backupHealth": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": false,
- "days": [
- "monday"
], - "localTime": "14:15:22Z"
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonth": 0,
- "months": [
- "January"
], - "localTime": "14:15:22Z",
- "isLastDayOfMonth": true
}
}, - "copyPolicyEnabled": true,
- "movePolicyEnabled": true,
- "operationalRestorePeriodDays": 0,
- "overridePolicy": {
- "isEnabled": true,
- "overrideSpaceThresholdPercents": 0
}, - "encryption": {
- "isEnabled": true,
- "encryptionType": "ByUserPassword",
- "encryptionPasswordId": "c26b46c1-e3e5-424c-948f-0a3fa5a19ab7",
- "encryptionPasswordUniqueId": "string",
- "kmsServerId": "b99403b3-0207-49d5-b267-d9213abf6699"
}
}, - "archiveTier": {
- "isEnabled": true,
- "extentId": "3c36c1a5-b874-4399-9970-34664ab7184e",
- "archivePeriodDays": 0,
- "advancedSettings": {
- "costOptimizedArchiveEnabled": true,
- "archiveDeduplicationEnabled": true
}
}
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Get Scale-Out Backup Repository
The HTTP GET request to the /api/v1/backupInfrastructure/scaleOutRepositories/{id}
path allows you to get a scale-out backup repository that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Backup Viewer, Veeam Tape Operator.
path Parameters
id required | string <uuid> ID of the scale-out backup repository. To get the ID, run the Get All Scale-Out Backup Repositories 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",
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "performanceTier": {
- "performanceExtents": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": [
- "Normal"
]
}
], - "advancedSettings": {
- "perVmBackup": true,
- "fullWhenExtentOffline": true
}
}, - "placementPolicy": {
- "type": "DataLocality",
- "settings": [
- {
- "name": "string",
- "extentId": "3c36c1a5-b874-4399-9970-34664ab7184e",
- "allowedBackups": "All"
}
], - "enforceStrictPlacementPolicy": true
}, - "capacityTier": {
- "isEnabled": true,
- "extents": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "offloadWindow": {
- "days": [
- {
- "day": "monday",
- "hours": "string"
}
]
}, - "backupHealth": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": false,
- "days": [
- "monday"
], - "localTime": "14:15:22Z"
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonth": 0,
- "months": [
- "January"
], - "localTime": "14:15:22Z",
- "isLastDayOfMonth": true
}
}, - "copyPolicyEnabled": true,
- "movePolicyEnabled": true,
- "operationalRestorePeriodDays": 0,
- "overridePolicy": {
- "isEnabled": true,
- "overrideSpaceThresholdPercents": 0
}, - "encryption": {
- "isEnabled": true,
- "encryptionType": "ByUserPassword",
- "encryptionPasswordId": "c26b46c1-e3e5-424c-948f-0a3fa5a19ab7",
- "encryptionPasswordUniqueId": "string",
- "kmsServerId": "b99403b3-0207-49d5-b267-d9213abf6699"
}
}, - "archiveTier": {
- "isEnabled": true,
- "extentId": "3c36c1a5-b874-4399-9970-34664ab7184e",
- "archivePeriodDays": 0,
- "advancedSettings": {
- "costOptimizedArchiveEnabled": true,
- "archiveDeduplicationEnabled": true
}
}
}
Edit Scale-Out Backup Repository
The HTTP PUT request to the /api/v1/backupInfrastructure/scaleOutRepositories/{id}
path allows you to edit a scale-out backup repository that has the specified id
.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> ID of the scale-out backup repository. To get the ID, run the Get All Scale-Out Backup Repositories 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> ID of the scale-out backup repository. |
name required | string Name of the scale-out backup repository. |
description required | string Description of the scale-out backup repository. |
required | object (PerformanceTierModel) Performance tier. |
uniqueId | string Unique ID assigned to the scale-out backup repository. |
object (PlacementPolicyModel) Backup file placement policy. | |
object (CapacityTierModel) Capacity tier. | |
object (ArchiveTierModel) Archive tier. |
An Infrastructure
session has been created to edit the scale-out backup repository. To check the progress, track the session state
.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "uniqueId": "string",
- "performanceTier": {
- "performanceExtents": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "status": [
- "Normal"
]
}
], - "advancedSettings": {
- "perVmBackup": true,
- "fullWhenExtentOffline": true
}
}, - "placementPolicy": {
- "type": "DataLocality",
- "settings": [
- {
- "name": "string",
- "extentId": "3c36c1a5-b874-4399-9970-34664ab7184e",
- "allowedBackups": "All"
}
], - "enforceStrictPlacementPolicy": true
}, - "capacityTier": {
- "isEnabled": true,
- "extents": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "offloadWindow": {
- "days": [
- {
- "day": "monday",
- "hours": "string"
}
]
}, - "backupHealth": {
- "isEnabled": true,
- "weekly": {
- "isEnabled": false,
- "days": [
- "monday"
], - "localTime": "14:15:22Z"
}, - "monthly": {
- "isEnabled": true,
- "dayOfWeek": "monday",
- "dayNumberInMonth": "First",
- "dayOfMonth": 0,
- "months": [
- "January"
], - "localTime": "14:15:22Z",
- "isLastDayOfMonth": true
}
}, - "copyPolicyEnabled": true,
- "movePolicyEnabled": true,
- "operationalRestorePeriodDays": 0,
- "overridePolicy": {
- "isEnabled": true,
- "overrideSpaceThresholdPercents": 0
}, - "encryption": {
- "isEnabled": true,
- "encryptionType": "ByUserPassword",
- "encryptionPasswordId": "c26b46c1-e3e5-424c-948f-0a3fa5a19ab7",
- "encryptionPasswordUniqueId": "string",
- "kmsServerId": "b99403b3-0207-49d5-b267-d9213abf6699"
}
}, - "archiveTier": {
- "isEnabled": true,
- "extentId": "3c36c1a5-b874-4399-9970-34664ab7184e",
- "archivePeriodDays": 0,
- "advancedSettings": {
- "costOptimizedArchiveEnabled": true,
- "archiveDeduplicationEnabled": true
}
}
}
- 201
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Remove Scale-Out Backup Repository
The HTTP DELETE request to the /api/v1/backupInfrastructure/scaleOutRepositories/{id}
path allows you to remove a scale-out backup repository that has the specified id
.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> ID of the scale-out backup repository. To get the ID, run the Get All Scale-Out Backup Repositories request. |
query Parameters
deleteBackups | boolean 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: |
Scale-out backup repository has been removed.
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
- 204
- 401
- 403
- 404
- 500
{ }
Enable Sealed Mode
The HTTP POST request to the /api/v1/backupInfrastructure/scaleOutRepositories/{id}/enableSealedMode
path allows you to enable the Sealed mode for specified extents of a scale-out backup repository that has the specified id
.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> ID of the scale-out backup repository. To get the ID, run the Get All Scale-Out Backup Repositories 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
repositoryIds required | Array of strings <uuid> Array of repository IDs added as scale-out backup repository extents. |
A RepositoryMaintenance
session has been created. 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
{- "repositoryIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Disable Sealed Mode
The HTTP POST request to the /api/v1/backupInfrastructure/scaleOutRepositories/{id}/disableSealedMode
path allows you to disable the Sealed mode for specified extents of a scale-out backup repository that has the specified id
.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> ID of the scale-out backup repository. To get the ID, run the Get All Scale-Out Backup Repositories 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
repositoryIds required | Array of strings <uuid> Array of repository IDs added as scale-out backup repository extents. |
A RepositoryMaintenance
session has been created. 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
{- "repositoryIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Enable Maintenance Mode
The HTTP POST request to the /api/v1/backupInfrastructure/scaleOutRepositories/{id}/enableMaintenanceMode
path allows you to enable the Maintenance mode for specified extents of a scale-out backup repository that has the specified id
.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> ID of the scale-out backup repository. To get the ID, run the Get All Scale-Out Backup Repositories 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
repositoryIds required | Array of strings <uuid> Array of repository IDs added as scale-out backup repository extents. |
A RepositoryMaintenance
session has been created. 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
{- "repositoryIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}
Disable Maintenance Mode
The HTTP POST request to the /api/v1/backupInfrastructure/scaleOutRepositories/{id}/disableMaintenanceMode
path allows you to disable the Maintenance mode for specified extents of a scale-out backup repository that has the specified id
.
Available to: Veeam Backup Administrator.
path Parameters
id required | string <uuid> ID of the scale-out backup repository. To get the ID, run the Get All Scale-Out Backup Repositories 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
repositoryIds required | Array of strings <uuid> Array of repository IDs added as scale-out backup repository extents. |
A RepositoryMaintenance
session has been created. 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
{- "repositoryIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "sessionType": "Infrastructure",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Stopped",
- "progressPercent": 0,
- "result": {
- "result": "None",
- "message": "string",
- "isCanceled": true
}, - "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",
- "resourceReference": "string",
- "parentSessionId": "b1d7834e-fe2f-4cad-b0e5-ff5c5615f344",
- "usn": 0,
- "platformName": "VMware",
- "platformId": "32a6e381-64f4-4911-86b6-3bf681b64d23",
- "initiatedBy": "string"
}