- 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 /accounts/amazon
resource collection represents all IAM roles added to the Veeam Backup for AWS configuration database.
Get Collection of IAM Roles
The HTTP GET request to the /accounts/amazon
endpoint retrieves a list of all IAM roles added to the Veeam Backup for AWS configuration database.
query Parameters
SearchPattern | string Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. |
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 (AmazonAccountsSortColumns) Specifies the order of items in the response. For more information, see the Veeam Backup for AWS REST API Reference Overview, section Sort 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 does not contain an access token, or the provided access token is invalid.
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/accounts/amazon?SearchPattern=string&Offset=0&Limit=0&Sort=nameAsc' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{- "results": [
- {
- "regionType": "Global",
- "id": "aa8bb04c-1e70-4ddf-9e35-7149e4920d1e",
- "name": "Backup Policy Role",
- "description": "Backup of Dept-01 EC2 instances",
- "awsid": "547096128372",
- "IAMRole": {
- "parentAmazonAccountId": "e104ee10-5eec-4896-9324-e9e8210d9e61",
- "roleName": "dept-01-ec2",
- "isDefault": false
}, - "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}
]
}, - {
- "regionType": "Global",
- "id": "d98f4d37-7874-4be1-9702-770078f5c9cd",
- "name": "Default Backup Restore",
- "description": "Default Backup Restore",
- "awsid": "547096128372",
- "IAMRole": {
- "parentAmazonAccountId": "e104ee10-5eec-4896-9324-e9e8210d9e61",
- "roleName": "InstanceBackupRestoreAccessRo-1IO19YW8TZF4P",
- "isDefault": true
}, - "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}
]
}
], - "totalCount": 2,
- "_links": [
]
}
Add IAM Role
The HTTP POST request to the /accounts/amazon
endpoint adds an IAM role to the Veeam Backup for AWS configuration database.
Before you add an IAM role, you can check whether the name you plan to specify for the IAM role in Veeam Backup for AWS is unique. For more information, see Validate IAM Role Name.
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: required
name required | string [ 0 .. 255 ] characters Specifies a name for an IAM role in Veeam Backup for AWS. |
description | string [ 0 .. 512 ] characters Specifies a description for an IAM role. |
object (AmazonAccountIAMRoleCreateSpec) [Applies only if the role is added using the IAM Role from current account mode] Specifies parameters for the IAM role. | |
object (AmazonAccountIAMRoleFromAnotherAccountCreateSpec) [Applies only if the role is added using the IAM Role from another account mode] Specifies parameters for the IAM role. | |
requestedPermissions | Array of strings (CloudAccountPermission) Specifies operations that will be performed using permissions of the IAM role. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The Authorization header does not contain an access token, or the provided access token is invalid.
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
{- "name": "string",
- "description": "string",
- "IAMRole": {
- "roleName": "string"
}, - "IAMRoleFromAnotherAccount": {
- "accountId": "string",
- "roleName": "string",
- "externalId": "string"
}, - "requestedPermissions": [
- "RepositoryPermissions"
]
}
- 201
- 400
- 401
{- "regionType": "Global",
- "id": "45c56f0a-6022-40b0-b524-30223b479f62",
- "name": "Backup Policy Role2",
- "description": "Role for Dept-01 EC2 instances",
- "awsid": "492706945713",
- "IAMRoleFromAnotherAccount": {
- "parentAmazonAccountId": "e104ee10-5eec-4896-9324-e9e8210d9e61",
- "accountId": "111111111111",
- "roleName": "dept_1/ec2_role"
}, - "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}
]
}
Validate IAM Role Name
The HTTP POST request to the /accounts/amazon/validateName
endpoint checks whether the name you plan to specify for an IAM role in Veeam Backup for AWS is unique.
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
name required | string non-empty Specifies a name for an IAM role. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The Authorization header does not contain an access token, or the provided access token is invalid.
Forbidden. The user sending a 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 on the server side.
Service Unavailable
Gateway Timeout
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "name": "Backup Policy Role"
}
- 200
- 400
- 401
- 403
[- {
- "severity": "Warning",
- "message": "string",
- "contextId": "84451116-c600-49e2-9c60-5b6b34fae0d6"
}
]
Validate Removing of IAM Role
The HTTP POST request to the /accounts/amazon/{IAMRoleId}/validateDelete
endpoint checks whether the IAM role with the specified ID is not used by Veeam Backup for AWS and can be removed from the configuration database.
path Parameters
IAMRoleId required | string <uuid> System ID assigned to the IAM role 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. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The Authorization header does not contain an access token, or the provided access token is invalid.
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/accounts/amazon/{IAMRoleId}/validateDelete' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 403
- 404
[- {
- "severity": "Warning",
- "message": "string",
- "contextId": "84451116-c600-49e2-9c60-5b6b34fae0d6"
}
]
Get IAM Role Data
The HTTP GET request to the /accounts/amazon/{IAMRoleId}
endpoint retrieves information on an IAM role with the specified ID.
path Parameters
IAMRoleId required | string <uuid> System ID assigned to the IAM role 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. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The Authorization header does not contain an access token, or the provided access token is invalid.
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/accounts/amazon/{IAMRoleId}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 404
{- "regionType": "Global",
- "id": "d98f4d37-7874-4be1-9702-770078f5c9cd",
- "name": "Default Backup Restore",
- "description": "Default Backup Restore",
- "awsid": "547096128372",
- "IAMRole": {
- "parentAmazonAccountId": "e104ee10-5eec-4896-9324-e9e8210d9e61",
- "roleName": "InstanceBackupRestoreAccessRo-1IO19YW8TZF4P",
- "isDefault": true
}, - "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}
]
}
Modify IAM Role
The HTTP PUT request to the /accounts/amazon/{IAMRoleId}
endpoint updates an IAM role with the specified ID.
path Parameters
IAMRoleId required | string <uuid> System ID assigned to the IAM role 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: required
name required | string [ 0 .. 255 ] characters Specifies a name for an IAM role in Veeam Backup for AWS. |
description | string [ 0 .. 512 ] characters Specifies a description for an IAM role. |
object (AmazonAccountIAMRoleUpdateSpec) [Applies only if the role was added using the IAM Role from current account mode] Specifies new parameters for the IAM role. | |
object (AmazonAccountIAMRoleFromAnotherAccountUpdateSpec) [Applies only if the role was added using the IAM Role from another account mode] Specifies new parameters for the IAM role. | |
requestedPermissions | Array of strings (CloudAccountPermission) Specifies operations that will be performed using permissions of the IAM role. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The Authorization header does not contain an access token, or the provided access token is invalid.
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
[- {
- "name": "Backup01 Role",
- "description": "Dept-01 instance backup",
- "IAMRole": {
- "roleName": "dept-01-ec2"
}
}
]
- 200
- 400
- 401
- 404
{- "regionType": "Global",
- "id": "aa8bb04c-1e70-4ddf-9e35-7149e4920d1e",
- "name": "Backup01 Role",
- "description": "Dept-01 instance backup",
- "awsid": "547096128372",
- "IAMRole": {
- "parentAmazonAccountId": "e104ee10-5eec-4896-9324-e9e8210d9e61",
- "roleName": "dept-01-ec2",
- "isDefault": false
}, - "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}
]
}
Remove IAM Role
The HTTP DELETE request to the /accounts/amazon/{IAMRoleId}
endpoint removes an IAM role with the specified ID from the Veeam Backup for AWS configuration database.
Before you remove an IAM role from the configuration database, make sure that the role is not used by Veeam Backup for AWS. For more information on how to check whether the IAM role can be removed, see Validate Removing of IAM Role.
path Parameters
IAMRoleId required | string <uuid> System ID assigned to the IAM role 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. |
No Content
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The Authorization header does not contain an access token, or the provided access token is invalid.
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/accounts/amazon/{IAMRoleId}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 400
- 401
- 404
{- "title": "string",
- "status": 400,
- "errorCode": "AccessDenied",
- "details": "string",
- "data": {
- "property1": { },
- "property2": { }
}
}
Perform Infrastructure Rescan for IAM Role
The HTTP POST request to the /accounts/amazon/{IAMRoleId}/rescan
endpoint runs the infrastructure rescanning operation for an IAM role with the specified ID.
path Parameters
IAMRoleId required | string <uuid> System ID assigned to the IAM role 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
rescanType required | string (RescanType) Specifies type of resources to rescan. |
regionIds required | Array of strings <uuid> unique Specifies system IDs assigned in the Veeam Backup for AWS REST API to AWS Regions you want to rescan. By default, all available AWS Regions and Availability Zones are synchronized. |
Accepted
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The Authorization header does not contain an access token, or the provided access token is invalid.
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
{- "rescanType": "Ec2",
- "regionIds": [
- "445b2c74-c89a-4bc0-aca0-3e4ad1553f01"
]
}
- 202
- 400
- 401
- 404
{- "sessionId": "95fddea4-52fb-47e4-a1bb-ddf60093a6cd",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Export Collection of IAM Roles
The HTTP POST request to the /accounts/amazon/export
endpoint exports a list of all IAM roles added to the Veeam Backup for AWS configuration database 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 does not contain an access token, or the provided access token is invalid.
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/accounts/amazon/export \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'