- About Veeam Backup for AWS REST API
- Overview
- How To
- Changelog
- Authorization
- Authorization (Single Sign-On)
- Appliance Connection Test
- Appliance Configuration Overview
- Appliance Statistics
- Appliance System Info
- Amazon Connections
- getGet Collection of Amazon Connections
- postAdd Amazon Connection
- getGet Amazon Connection Data
- delRemove Amazon Connection
- getGet Collection of Availability Zones
- postCheck Permissions for Performing Restore
- postVerify EC2 Instance Details
- postVerify RDS Resource Details
- getGet Collection of Encryption Keys
- getGet Collection of VPCs
- getGet Collection of Security Groups
- getGet Collection of Route Tables
- getGet Collection of Amazon Machine Images
- postVerify EC2 Instance AMI
- getGet Collection of Subnets
- getGet Collection of AWS Outposts
- getGet Collection of Option Groups
- getGet Collection of Parameter Groups
- getGet Collection of Cluster Parameter Groups
- getGet Collection of DB Subnet Groups
- getGet Collection of VPC Security Groups
- getGet Collection of RDS Licenses
- getGet Collection of DB Instance Classes
- getValidate S3 Endpoint
- postValidate Worker Settings
- getGet Collection of AWS Managed Microsoft Active Directories (ADs)
- getGet Collection of Redshift Subnet Groups
- getGet Collection of Redshift Parameter Groups
- getGet Collection of Redshift Node Configurations
- getGet Collection of IAM roles
- getGet Collection of Instance Profiles
- Amazon S3 Buckets
- AWS Regions
- AWS Tags
- Backup Vaults
- Backup Repositories
- Configuration Backup and Restore
- getGet Configuration Backup Settings
- putModify Configuration Backup Settings
- postEnable Configuration Backup Schedule
- postDisable Configuration Backup Schedule
- getGet Configuration Backup Restore Points
- getGet Configuration Backup Restore Point Data
- delRemove Configuration Backup Restore Point
- postCreate Configuration Backup
- postRestore Backup Appliance Configuration
- postCheck Configuration
- getGet Configuration Check Results
- postComplete Configuration Restore
- postStart Configuration Backup Export
- getCheck Status of Configuration Backup Export
- postDownload Configuration Backup File
- postImport Configuration Backup File
- delRemove Imported Configuration Backup File
- postCheck Imported Backup File
- getGet List of Uploaded Configuration Backup Files
- getGet Configuration Backup and Restore Session Data
- Database Accounts
- DynamoDB Backup Policies
- getGet Collection of DynamoDB Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet Resources Protected by DynamoDB Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- DynamoDB Restore Points
- DynamoDB Tables
- EC2 Backup Policies
- getGet Collection of EC2 Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet AWS Regions Selected for Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet Resources Protected by EC2 Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- EC2 Instances
- getGet Collection of EC2 Instances
- postPerform Infrastructure Rescan for EC2 Instances
- getGet EC2 Instance Data
- postCreate Snapshot of EC2 Instance
- postRemove Snapshots of EC2 Instance
- postRemove Backups of EC2 Instance
- delRemove Restore Points of EC2 Instance
- getGet EBS Volumes
- postExport Collection of EC2 Instances
- EC2 Restore Points
- getGet EC2 Instance Restore Points
- getGet EC2 Instance Restore Point Data
- postPerform Volume-Level Restore
- postValidate Volume-Level Restore
- postPerform EC2 Instance Restore
- postValidate EC2 Instance Restore
- postPerform EC2 File-Level Restore
- getGet Default Network Settings of Restore Point
- getGet Collection of Data Retrieval Sessions
- getGet Data Retrieval Session Data
- postRetrieve Data From Archive
- postExtend Data Availability Period
- postGet Data Retrieval Sessions for Restore Point
- EFS Backup Policies
- getGet Collection of EFS Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet Resources Protected by EFS Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- EFS File Systems
- EFS Restore Points
- File-Level Recovery
- FSx Backup Policies
- getGet Collection of FSx Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- FSx File Systems
- FSx Restore Points
- Redshift Backup Policies
- getGet Collection of Redshift Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- Redshift Restore Points
- Redshift Clusters
- Redshift Serverless Namespaces
- Redshift Serverless Backup Policies
- getGet Collection of Redshift Serverless Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet AWS Regions Selected for Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postExport Collection of Backup Policies
- Redshift Serverless Restore Points
- Global Retention Settings
- IAM Roles
- Organizations
- postPerform Rescan of AWS Organization Structure
- getGet Collection of AWS Organizations
- postAdd AWS Organization
- getGet AWS Organization Data
- putModify AWS Organization
- delRemove AWS Organization
- postGet AWS Organization Structure Rescan Results
- postGet Structure of AWS Organization Added to Veeam Backup for AWS
- postValidate Removing of AWS Organization
- postValidate Removing of Multiple AWS Organizations
- postCheck AWS Organization Configuration
- postExport Collection of AWS Organizations
- postCheck Adding AWS Organization
- postValidate AWS Organization Name
- postValidate AWS Organization Settings
- Infrastructure
- Identity Provider
- Immutability Settings
- Initial Configuration
- License Agreements
- Licensing
- RDS Backup Policies
- getGet Collection of RDS Backup Policies
- postCreate Backup Policy
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- getGet Resources Protected by Backup Policy
- getGet AWS Regions Selected for Backup Policy
- getGet Resources Excluded from Backup Policy
- getGet Resources Protected by RDS Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- getExport Backup Policy Settings
- postImport Backup Policy Settings
- postValidate Backup Policy Settings
- postSet Backup Policy Priority
- postExport Collection of Backup Policies
- postCalculate Estimated Cost for Backup Policy
- getGet Backup Policy Estimated Cost
- RDS Resources
- RDS Restore Points
- getGet RDS Resource Restore Points
- getGet RDS Resource Restore Point Data
- delRemove RDS Resource Restore Point
- postPerform RDS Resource Restore
- postPerform DB Instance Database Restore
- postValidate the RDS Resource Restore from Backup
- postValidate RDS Resource Restore from Snapshot
- getGet RDS Resource Restore Point Databases List
- Security Certificates
- Sessions
- SMTP Accounts
- Time Zone
- User Accounts
- getGet Collection of Users
- postAdd User Account
- getGet Collection of User Roles
- getGet User Data
- putModify User Account
- delRemove User Account
- postValidate User Name
- postValidate User Description
- postValidate User Password
- postGet MFA Secret Key
- postEnable MFA for User
- postDisable MFA for User
- getVerify First Login
- postValidate Backup Appliance Instance ID
- postCreate Default User
- postExport Collection of Users
- Veeam Backup for AWS Version
- VPC Configuration Backup Policy
- VPC Configuration Restore Points
- getGet VPC Configuration Restore Points
- getGet VPC Configuration Restore Point Data
- getGet Backed-Up VPC Configuration Items
- getGet Collection of Backed-Up VPCs
- postCheck IAM Role Permissions
- postCompare VPC Configuration
- postPerform VPC Configuration Restore
- postValidate VPC Configuration Restore
- postExport Backed-Up VPC Configuration
- postRemove VPC Configuration Backups
- Workers
- getGet Collection of Worker Profiles
- postAdd Worker Profiles
- getGet Worker Profiles for Region
- putModify Worker Profiles
- delRemove Worker Profiles
- getGet IAM Role Used to Launch Worker Instances
- putChange IAM Role Used to Launch Worker Instances
- getGet Collection of Worker Configurations
- postAdd Worker Configuration
- getGet Worker Configuration Data
- putModify Worker Configuration
- delRemove Worker Configuration
- getGet Worker Configurations for Production Accounts
- postAdd Worker Configuration for Production Account
- getGet Worker Configuration for Production Account Data
- putModify Worker Configuration for Production Account
- delRemove Worker Configuration for Production Account
- getGet Worker Custom Tags
- putModify Worker Custom Tags
The /virtualMachines
resource collection represents all EC2 instances that reside in AWS Regions selected in the backup policy settings and can be protected by Veeam Backup for AWS.
Get Collection of EC2 Instances
The HTTP GET request to the /virtualMachines
endpoint retrieves a list of all EC2 instances that can be protected by Veeam Backup for AWS.
query Parameters
SearchPattern | string Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. |
ResourceAwsAccountId | string Returns only EC2 instances that belong to an AWS Account with the specified AWS ID. |
ResourceAwsOrganizationId | string Returns only EC2 instances that belong to an AWS Organization with the specified AWS ID. |
RegionId | string <uuid> Returns only EC2 instances that reside in the regions with the specified ID. |
Offset | integer <int32> Excludes from a response the first N items of a resource collection. |
Limit | integer <int32> Specifies the maximum number of items of a resource collection to return in a response. |
Sort | Array of strings (VirtualMachinesSortColumns) Specifies the order of items in the response. For more information, see the Veeam Backup for AWS REST API Reference Overview, section Sort Parameter. |
ProtectedByPolicy | string Returns only EC2 instances with the specified protection status (EC2 instances that are protected by backup policies or EC2 instances that are not protected by any of backup policies). For more information, see the Veeam Backup for AWS REST API Reference Overview, section Filter Parameter. |
BackupType | Array of strings Returns only EC2 instances with the specified backup type. For more information, see the Veeam Backup for AWS REST API Reference Overview, section Filter Parameter. |
BackupState | string Returns only EC2 instances with the specified backup state (EC2 instances that have backups or EC2 instances that have no backups). For more information, see the Veeam Backup for AWS REST API Reference Overview, section Filter Parameter. |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X GET \ 'https://helpcenter.veeam.com/api/v1/virtualMachines?SearchPattern=string&ResourceAwsAccountId=string&ResourceAwsOrganizationId=string&RegionId=497f6eca-6276-4993-bfeb-53cbbbba6f08&Offset=0&Limit=0&Sort=nameAsc&ProtectedByPolicy=Protected&BackupType=Snapshot&BackupState=Protected' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{- "results": [
- {
- "backupState": "Protected",
- "id": "b0f0a520-dc84-4d3a-8362-fe6ca283c61d",
- "name": "srv45",
- "awsResourceId": "i-0535babba744ebdcb",
- "instanceSizeGigabytes": 40,
- "instanceType": "t2.micro",
- "instanceDnsName": "ec2-13-53-184-189.eu-north-1.compute.amazonaws.com",
- "policiesCount": 0,
- "backupTypes": [
- "ManualSnapshot"
], - "region": {
- "id": "e3d35913-eb00-47c7-9f45-1d05e6bedcf0",
- "name": "eu-north-1"
}, - "location": {
- "id": "f1e19689-d17d-4a7b-8f3a-01ccf701e0a7",
- "name": "eu-north-1c"
}, - "isDeleted": false,
- "links": [
- {
- "method": "Get",
- "rel": "self",
}, - {
- "method": "POST",
- "rel": "TakeSnapshot",
}, - {
- "method": "Get",
- "rel": "Region",
}
]
}, - {
- "backupState": "Protected",
- "id": "51ee4beb-7cbb-4208-86a8-09f89308bbe5",
- "name": "accDept01",
- "awsResourceId": "i-0f9ce735dbb4b7e97",
- "instanceSizeGigabytes": 20,
- "instanceType": "t2.micro",
- "instanceDnsName": "ec2-18-133-243-121.eu-west-2.compute.amazonaws.com",
- "policiesCount": 2,
- "backupTypes": [
- "Backup",
- "Snapshot",
- "ManualSnapshot"
], - "region": {
- "id": "3875ab9c-bab1-4c46-b107-d834cd4db073",
- "name": "eu-west-2"
}, - "location": {
- "id": "79441253-96d5-4795-9e62-fb7d6429f846",
- "name": "eu-west-2a"
}, - "isDeleted": false,
- "links": [
- {
- "method": "Get",
- "rel": "self",
}, - {
- "method": "POST",
- "rel": "TakeSnapshot",
}, - {
- "method": "POST",
- "rel": "DeleteSnapshots",
}, - {
- "method": "Get",
- "rel": "Region",
}
]
}
], - "totalCount": 2,
- "links": [
]
}
Perform Infrastructure Rescan for EC2 Instances
The HTTP POST request to the /virtualMachines/rescan
endpoint runs the infrastructure rescanning operation for EC2 instances.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Accepted
Bad Request. 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 a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X POST \ https://helpcenter.veeam.com/api/v1/virtualMachines/rescan \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 202
- 400
- 401
- 403
- 404
{- "sessionId": "1b1a25b9-1131-469a-914c-5318b0aa1b07",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Get EC2 Instance Data
The HTTP GET request to the /virtualMachines/{virtualMachineId}
endpoint retrieves information on an EC2 instance with the specified ID.
path Parameters
virtualMachineId required | string <uuid> System ID assigned to the EC2 instance in the Veeam Backup for AWS REST API. Example: 51ee4beb-7cbb-4208-86a8-09f89308bbe5 |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X GET \ 'https://helpcenter.veeam.com/api/v1/virtualMachines/{virtualMachineId}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 401
- 404
{- "backupState": "Protected",
- "id": "51ee4beb-7cbb-4208-86a8-09f89308bbe5",
- "name": "accDept01",
- "awsResourceId": "i-0f9ce735dbb4b7e97",
- "instanceSizeGigabytes": 20,
- "instanceType": "t2.micro",
- "instanceDnsName": "ec2-18-133-243-121.eu-west-2.compute.amazonaws.com",
- "policiesCount": 2,
- "backupTypes": [
- "Backup",
- "Snapshot",
- "ManualSnapshot"
], - "region": {
- "id": "3875ab9c-bab1-4c46-b107-d834cd4db073",
- "name": "eu-west-2"
}, - "location": {
- "id": "79441253-96d5-4795-9e62-fb7d6429f846",
- "name": "eu-west-2a"
}, - "isDeleted": false,
- "links": [
- {
- "method": "Get",
- "rel": "self",
}, - {
- "method": "POST",
- "rel": "TakeSnapshot",
}, - {
- "method": "POST",
- "rel": "DeleteSnapshots",
}, - {
- "method": "Get",
- "rel": "Region",
}
]
}
Create Snapshot of EC2 Instance
The HTTP POST request to the /virtualMachines/{virtualMachineId}/takeSnapshot
endpoint creates a manual snapshot of an EC2 instance with the specified ID.
When you create a snapshot manually, Veeam Backup for AWS detects if there is a snapshot chain for the processed EC2 instance. If the snapshot chain exists, Veeam Backup for AWS continues the existing chain. Otherwise, the created snapshot starts a new snapshot chain for the processed EC2 instance.
path Parameters
virtualMachineId required | string <uuid> System ID assigned to the EC2 instance in the Veeam Backup for AWS REST API. |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: application/jsonrequired
IAMRoleId required | string <uuid> System ID assigned in the Veeam Backup for AWS REST API to an IAM role whose permissions Veeam Backup for AWS will use to create a cloud-native snapshot. |
targetIAMRoleIdToCopySnapshots | string <uuid> [Applies to the Remote region snapshot mode] Specifies an IAM role that has permissions to store snapshots in the target AWS Region. |
targetRegionIdToCopySnapshots | string <uuid> [Applies to the Remote region snapshot mode] Specifies a target AWS Region to store the created snapshot. |
encryptionKey | string [Applies to the Remote region snapshot mode with encryption enabled] Specifies the ARN of a KMS key used for snapshot encryption. |
Array of objects (TagSpec) Specifies custom tags to be assigned to the snapshots and replicas created by the policy. | |
copyTagsFromVolumeEnabled | boolean Defines whether to copy tags of EBS volumes attached to processed EC2 instances and assign them to snapshots and replicas created by the policy. The default value is false. |
Accepted
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "IAMRoleId": "eca01dcc-d324-4017-92cb-04ec240aaf0a",
- "copyTagsFromVolumeEnabled": true
}
- 202
- 400
- 401
- 404
{- "sessionId": "1b1a25b9-1131-469a-914c-5318b0aa1b07",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Remove Snapshots of EC2 Instance
The HTTP POST request to the /virtualMachines/{virtualMachineId}/deleteSnapshots
endpoint removes the whole snapshot chain of an EC2 instance with the specified ID.
path Parameters
virtualMachineId required | string <uuid> System ID assigned to the EC2 instance in the Veeam Backup for AWS REST API. |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: application/json
The snapshot removal specification.
snapshotType | string (DeleteSnapshotType) Specifies the type of snapshots that will be deleted. |
Accepted
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "snapshotType": "All"
}
- 202
- 401
- 404
{- "sessionId": "1b1a25b9-1131-469a-914c-5318b0aa1b07",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Remove Backups of EC2 Instance
The HTTP POST request to the /virtualMachines/{virtualMachineId}/deleteBackups
endpoint removes the whole backup chain of an EC2 instance with the specified ID.
path Parameters
virtualMachineId required | string <uuid> System ID assigned to the EC2 instance in the Veeam Backup for AWS REST API. |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Request Body schema: application/json
The backup removal specification.
backupType | string (DeleteBackupType) Specifies the type of backups that will be deleted. |
Accepted
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "backupType": "All"
}
- 202
- 401
- 404
{- "sessionId": "1b1a25b9-1131-469a-914c-5318b0aa1b07",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Remove Restore Points of EC2 Instance
The HTTP DELETE request to the virtualMachines/{virtualMachineId}/restorePoints
endpoint deletes all restore points of an EC2 instance with the specified ID.
path Parameters
virtualMachineId required | string <uuid> System ID assigned to the EC2 instance in the Veeam Backup for AWS REST API. |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
Accepted
Bad Request. 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 a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X DELETE \ 'https://helpcenter.veeam.com/api/v1/virtualMachines/{virtualMachineId}/restorePoints' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 202
- 400
- 401
- 403
- 404
{- "sessionId": "1b1a25b9-1131-469a-914c-5318b0aa1b07",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Get EBS Volumes
The HTTP GET request to the /virtualMachines/volumes
endpoint retrieves a list of EBS volumes that can be protected by Veeam Backup for AWS.
query Parameters
SearchPattern | string Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. |
AwsAccounts | Array of strings <uuid> Returns only EBS volumes to which an IAM role with the specified ID has permissions. For more information, see the Veeam Backup for AWS REST API Reference Overview, section Filter Parameter. |
Locations | Array of strings <uuid> Returns only EBS volumes residing in an AWS Region with the specified ID. For more information, see the Veeam Backup for AWS REST API Reference Overview, section Filter Parameter. |
Offset | integer <int32> Excludes from a response the first N items of a resource collection. |
Limit | integer <int32> Specifies the maximum number of items of a resource collection to return in a response. |
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X GET \ 'https://helpcenter.veeam.com/api/v1/virtualMachines/volumes?SearchPattern=string&AwsAccounts=497f6eca-6276-4993-bfeb-53cbbbba6f08&Locations=497f6eca-6276-4993-bfeb-53cbbbba6f08&Offset=0&Limit=0' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{- "data": [
- {
- "volumeId": "001fd9d9-7361-40e4-9009-22c32de068be",
- "volumeName": "sbdept",
- "volumeResourceId": "vol-0b244f355396146ff",
- "volumeSizeGigabytes": 20,
- "volumeRegion": "EU Central (Frankfurt)",
- "regionId": "5449201a-afc4-46a1-a4fa-7405b6ee9cef"
}, - {
- "volumeId": "01aca087-4fa7-4178-81d4-575a2d6f130a",
- "volumeName": "lewin2",
- "volumeResourceId": "vol-0f234d7beb008394e",
- "volumeSizeGigabytes": 8,
- "volumeRegion": "EU North (Stockholm)",
- "regionId": "e3d35913-eb00-47c7-9f45-1d05e6bedcf0"
}
], - "totalCount": 2,
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Export Collection of EC2 Instances
The HTTP POST request to the /virtualMachines/export
endpoint exports a list of EC2 instances to a .CSV or an .XML file. To specify the required type of the file, use the Accept request header.
header Parameters
x-api-version required | string Default: 1.7-rev0 Specifies the current version and revision of the Veeam Backup for AWS REST API. |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Internal Server Error. The request has been received but could not be completed because of an internal error on the server side.
Service Unavailable
Gateway Timeout
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X POST \ https://helpcenter.veeam.com/api/v1/virtualMachines/export \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'