- 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 Credentials section defines paths and operations for managing credentials records that are added to the backup server.
Get All Credentials
The HTTP GET request to the /api/v1/credentials
path allows you to get an array of credentials records that are added to the backup server.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Tape Operator, Veeam Security Administrator.
query Parameters
skip | integer <int32> Number of credentials records to skip. |
limit | integer <int32> Default: 200 Maximum number of credentials records to return. |
orderColumn | string (ECredentialsFiltersOrderColumn) Sorts credentials by one of the credentials parameters. |
orderAsc | boolean If |
nameFilter | string Filters credentials by the |
typeFilter | string (ECredentialsType) Filters credentials by type. |
createdAfterFilter | string <date-time> Returns credentials that are created after the specified date and time. |
createdBeforeFilter | string <date-time> Returns credentials that are created before the specified date and time. |
includeDefaultApplianceCreds | 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": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "description": "string",
- "type": "Standard",
- "creationTime": "2019-08-24T14:15:22Z",
- "uniqueId": "string"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}
}
Add Credentials Record
The HTTP POST request to the /api/v1/credentials
path allows you to add a credentials record.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Tape Operator, Veeam Security 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
username required | string User name. |
type required | string (ECredentialsType) Credentials type. |
password required | string Password. |
description | string Description of the credentials record. |
uniqueId | string Unique ID that identifies the credentials record. |
Account has been added.
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
{- "username": "string",
- "description": "string",
- "type": "Standard",
- "uniqueId": "string",
- "password": "string"
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "description": "string",
- "type": "Standard",
- "creationTime": "2019-08-24T14:15:22Z",
- "uniqueId": "string"
}
Get Credentials Record
The HTTP GET request to the /api/v1/credentials/{id}
path allows you to get a credentials record that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Tape Operator, Veeam Security Administrator.
path Parameters
id required | string <uuid> Credentials record ID. To get the ID, run the Get All Credentials 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",
- "username": "string",
- "description": "string",
- "type": "Standard",
- "creationTime": "2019-08-24T14:15:22Z",
- "uniqueId": "string"
}
Edit Credentials Record
The HTTP PUT request to the /api/v1/credentials/{id}
path allows you to edit a credentials record that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> Credentials record ID. To get the ID, run the Get All Credentials 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 credentials record. |
username required | string User name. |
description required | string Description of the credentials record. |
type required | string (ECredentialsType) Credentials type. |
creationTime required | string <date-time> Date and time when the credentials were created. |
uniqueId | string Unique ID that identifies the credentials record. |
Credentials record 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
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "description": "string",
- "type": "Standard",
- "creationTime": "2019-08-24T14:15:22Z",
- "uniqueId": "string"
}
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "description": "string",
- "type": "Standard",
- "creationTime": "2019-08-24T14:15:22Z",
- "uniqueId": "string"
}
Remove Credentials Record
The HTTP DELETE request to the /api/v1/credentials/{id}
path allows you to remove a credentials record that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> Credentials record ID. To get the ID, run the Get All Credentials 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: |
Credentials record 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
{ }
Change Password
The HTTP POST request to the /api/v1/credentials/{id}/changepassword
path allows you to change a password of the credentials record that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> Credentials record ID. To get the ID, run the Get All Credentials 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
password required | string New password. |
Password has been changed.
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
{- "password": "string"
}
- 200
- 400
- 401
- 403
- 404
- 500
{ }
Change Linux Private Key
The HTTP POST request to the /api/v1/credentials/{id}/changeprivatekey
path allows you to change a Linux private key of the credentials record that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> Credentials record ID. To get the ID, run the Get All Credentials 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
privateKey required | string New private key. |
passphrase | string Passphrase that protects the private key. |
Private key has been changed.
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
{- "privateKey": "string",
- "passphrase": "string"
}
- 200
- 400
- 401
- 403
- 404
- 500
{ }
Change Linux Root Password
The HTTP POST request to the /api/v1/credentials/{id}/changerootpassword
path allows you to change a Linux root password of the credentials record that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> Credentials record ID. To get the ID, run the Get All Credentials 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
password required | string New password. |
Root password has been changed.
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
{- "password": "string"
}
- 200
- 400
- 401
- 403
- 404
- 500
{ }
Get All Cloud Credentials
The HTTP GET request to the /api/v1/cloudCredentials
path allows you to get an array of credentials records used to connect to cloud services.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
query Parameters
skip | integer <int32> Number of cloud credentials records to skip. |
limit | integer <int32> Default: 200 Maximum number of cloud credentials records to return. |
orderColumn | string (ECloudCredentialsFiltersOrderColumn) Sorts cloud credentials by one of the cloud credentials parameters. |
orderAsc | boolean If |
nameFilter | string Filters cloud credentials by the |
typeFilter | string (ECloudCredentialsType) Cloud credentials 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.
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",
- "description": "string",
- "type": "AzureStorage",
- "lastModified": "2019-08-24T14:15:22Z",
- "accessKey": "string",
- "uniqueId": "string"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}
}
Add Cloud Credentials Record
The HTTP POST request to the /api/v1/cloudCredentials
path allows you to add a credentials record used to connect to cloud services.
Available to: Veeam Backup Administrator, Veeam Security 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
type required | string (ECloudCredentialsType) Cloud credentials type. |
account required | string Name of the Azure storage account. |
sharedKey required | string Shared key of the Azure storage account. |
description | string Description of the cloud credentials record. |
uniqueId | string Unique ID that identifies the cloud credentials record. |
Cloud credentials record has been created.
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
{- "description": "Azure storage account",
- "type": "AzureStorage",
- "accessKey": "string",
- "secretKey": "string",
- "uniqueId": "createdbysheiladcory",
- "account": "williamfox",
- "sharedKey": "0sF53pZ/c8cVk+sEMby1lGZzA4SJezapyrFysdjlfLlUwMESTW6dEnkC3x62USr4cwHgPxarsBCE+ASt1Zjmwg=="
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "type": "AzureStorage",
- "lastModified": "2019-08-24T14:15:22Z",
- "accessKey": "string",
- "uniqueId": "string",
- "account": "string"
}
Get Microsoft Entra ID Verification Code
The HTTP POST request to the /api/v1/cloudCredentials/appRegistration
path allows you to get a single-use verification code required to register a new Microsoft Entra ID application.
Available to: Veeam Backup Administrator, Veeam Security 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
type required | string (ECloudCredentialsType) Cloud credentials type. |
region required | string (EAzureRegionType) Microsoft Azure region. |
Verification code has been received.
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
{- "type": "AzureCompute",
- "region": "China"
}
- 201
- 400
- 401
- 403
- 500
{- "type": "AzureCompute",
- "url": "string",
- "verificationCode": "string",
- "expirationTime": "2019-08-24T14:15:22Z"
}
Register Microsoft Entra ID Application
The HTTP POST request to the /api/v1/cloudCredentials/appRegistration/{verificationCode}
path allows you to register a new Microsoft Entra ID application using the specified verificationCode
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
verificationCode required | string Verification code. To obtain the code, use the Get Microsoft Entra ID Verification Code 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: |
Microsoft Entra ID application has been registered.
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
- 201
- 400
- 401
- 403
- 500
{- "type": "AzureCompute",
- "applicationId": "string",
- "secret": "string",
- "tenantId": "string"
}
Get Google Authentication Information
The HTTP POST request to the /api/v1/cloudCredentials/authenticate
path allows you to get authentication information required to sign in to Google Cloud.
Available to: Veeam Backup Administrator, Veeam Security 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: |
Authentication information has been received.
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
- 201
- 400
- 401
- 403
- 500
{- "url": "string",
- "verificationCode": "string",
- "expirationTime": "2019-08-24T14:15:22Z"
}
Get Cloud Credentials Record
The HTTP GET request to the /api/v1/cloudCredentials/{id}
path allows you to get a cloud credentials record that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> ID of the cloud credentials record. To get the ID, run the Get All Cloud Credentials 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",
- "description": "string",
- "type": "AzureStorage",
- "lastModified": "2019-08-24T14:15:22Z",
- "accessKey": "string",
- "uniqueId": "string",
- "account": "string"
}
Edit Cloud Credentials Record
The HTTP PUT request to the /api/v1/cloudCredentials/{id}
path allows you to edit a cloud credentials record that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> ID of the cloud credentials record. To get the ID, run the Get All Cloud Credentials 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 cloud credentials record. |
type required | string (ECloudCredentialsType) Cloud credentials type. |
account required | string Name of the Azure storage account. |
description | string Description of the cloud credentials record. |
lastModified | string <date-time> Date and time the credential record was last modified. |
uniqueId | string Unique ID that identifies the cloud credentials record. |
Cloud credentials record 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
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "type": "AzureStorage",
- "lastModified": "2019-08-24T14:15:22Z",
- "accessKey": "string",
- "uniqueId": "string",
- "account": "string"
}
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "type": "AzureStorage",
- "lastModified": "2019-08-24T14:15:22Z",
- "accessKey": "string",
- "uniqueId": "string",
- "account": "string"
}
Remove Cloud Credentials Record
The HTTP DELETE request to the /api/v1/cloudCredentials/{id}
path allows you to remove a cloud credentials record that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> ID of the cloud credentials record. To get the ID, run the Get All Cloud Credentials 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: |
Cloud credentials record 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
{ }
Change Secret Key
The HTTP POST request to the /api/v1/cloudCredentials/{id}/changeSecretKey
path allows you to change a secret key of a cloud credentials record that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> ID of the cloud credentials record. To get the ID, run the Get All Cloud Credentials 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
newSecretKey required | string New secret key. |
Secret key has been changed.
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
{- "newSecretKey": "string"
}
- 200
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "type": "AzureStorage",
- "lastModified": "2019-08-24T14:15:22Z",
- "accessKey": "string",
- "uniqueId": "string",
- "account": "string"
}
Change Google Service Account
The HTTP POST request to the /api/v1/cloudCredentials/{id}/changeAccount
path allows you to set a new Google Cloud service account associated with the same credentials id.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> ID of the Google service account. To get the ID, run the Get All Cloud Credentials 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
keyFile required | string Base64-encoded string of the content of a JSON key file containing a service account key. |
Service account has been changed.
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
{- "keyFile": "string"
}
- 201
- 400
- 401
- 403
- 500
{ }
Change Certificate
The HTTP POST request to the /api/v1/cloudCredentials/{id}/changeCertificate
path allows you to change a certificate used for authentication in your Microsoft Entra ID application associated with an Azure compute account that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> ID of the Azure compute account. To get the ID, run the Get All Cloud Credentials 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
certificate required | string Base64-encoded string of the content of a PFX certificate file. |
formatType required | string (ECertificateFileFormatType) Certificate file format. |
password | string Decryption password for the certificate file. |
Certificate has been changed.
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
{- "certificate": "string",
- "formatType": "pfx",
- "password": "string"
}
- 204
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "description": "string",
- "type": "AzureStorage",
- "lastModified": "2019-08-24T14:15:22Z",
- "accessKey": "string",
- "uniqueId": "string",
- "account": "string"
}
Get All Helper Appliances
The HTTP GET request to the /api/v1/cloudCredentials/{id}/helperAppliances
path allows you to get an array of Linux-based helper appliances of a Microsoft Azure compute account that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Backup Operator, Veeam Restore Operator, Veeam Tape Operator, Veeam Security Administrator.
path Parameters
id required | string <uuid> ID of the Microsoft Azure compute account. To get the ID, run the Get All Cloud Credentials 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
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": "AzureStorage",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "vmName": "string",
- "location": "string",
- "storageAccount": "string",
- "resourceGroup": "string",
- "virtualNetwork": "string",
- "subnet": "string",
- "SSHPort": 0
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}
}
Add or Edit Helper Appliance
The HTTP POST request to the /api/v1/cloudCredentials/{id}/helperAppliances
path allows you to create a new Linux-based helper appliance or edit settings of an existing one for a Microsoft Azure compute account that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> ID of the Microsoft Azure compute account. To get the ID, run the Get All Cloud Credentials 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
type required | string (ECloudCredentialsType) Cloud credentials type. |
subscriptionId required | string <uuid> ID that Veeam Backup & Replication assigned to the Azure subscription. |
location | string Storage account location where you want to configure the helper appliance. |
storageAccount | string Name of the Azure storage account whose resources are used to store the helper appliance. |
resourceGroup | string Resource group associated with the helper appliance. |
virtualNetwork | string Network to which the helper appliance is connected. |
subnet | string Subnet for the helper appliance. |
SSHPort | integer Port over which Veeam Backup & Replication communicates with the helper appliance. |
An AzureApplianceDeploy
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
{- "type": "AzureCompute",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "location": "string",
- "storageAccount": "string",
- "resourceGroup": "string",
- "virtualNetwork": "string",
- "subnet": "string",
- "SSHPort": 0
}
- 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 Helper Appliance
The HTTP GET request to the /api/v1/cloudCredentials/{id}/helperAppliances/{applianceId}
path allows you to get a Linux-based helper appliance with the applianceId
of a Microsoft Azure compute account that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> ID of the Microsoft Azure compute account. To get the ID, run the Get All Cloud Credentials request. |
applianceId required | string <uuid> Helper appliance ID. To get the ID, run the Get All Helper Appliances 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
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": "AzureCompute",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",
- "vmName": "string",
- "location": "string",
- "storageAccount": "string",
- "resourceGroup": "string",
- "virtualNetwork": "string",
- "subnet": "string",
- "SSHPort": 0
}
Remove Helper Appliance
The HTTP DELETE request to the /api/v1/cloudCredentials/{id}/helperAppliances/{applianceId}
path allows you to remove a Linux-based helper appliance with the applianceId
of a Microsoft Azure compute account that has the specified id
.
Available to: Veeam Backup Administrator, Veeam Security Administrator.
path Parameters
id required | string <uuid> ID of the Microsoft Azure compute account. To get the ID, run the Get All Cloud Credentials request. |
applianceId required | string <uuid> Helper appliance ID. To get the ID, run the Get All Helper Appliances 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 AzureApplianceDeploy
session has been created to remove the helper appliance. 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
{- "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"
}