- 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 /organizations
resource collection represents all AWS Organizations added to the Veeam Backup for AWS configuration database.
Perform Rescan of AWS Organization Structure
The HTTP POST request to the /organizations/amazon/rescan
endpoint runs the structure rescanning operation for an AWS Organization to which the specified IAM role belongs.
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
rescanIamRoleId required | string <uuid> Specifies the system ID assigned to an IAM role in the Veeam Backup for AWS REST API. The permissions of this role are used to collect information on the AWS Organization. Note that the specified role must be created in the AWS account that manages the AWS Organization. |
rescanStorageType required | string (AmazonOrganizationRescanStorageType) Defines whether you want to store the list of organization entities in the RAM of the backup appliance or in its configuration database. |
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
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "rescanIamRoleId": "c963aa50-056c-4578-a8af-77ff0aca8807",
- "rescanStorageType": "Database"
}
- 202
- 400
- 401
- 403
- 404
{- "sessionId": "95fddea4-52fb-47e4-a1bb-ddf60093a6cd",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Get Collection of AWS Organizations
The HTTP GET request to the /organizations/amazon
endpoint retrieves a list of all AWS Organizations 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 (AmazonOrganizationSortColumns) 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 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.
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/organizations/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
- 403
{- "results": [
- {
- "id": "45e4cf4b-907d-427f-be78-cf3cef9aa51e",
- "name": "Primary AWS Organization",
- "description": "Centralized management of AWS accounts and resources.",
- "awsId": "o-123example",
- "arn": "arn:aws:organizations::123456789012:organization/o-123example",
- "backupIamRoleName": "Backup and restore IAM Role",
- "rescanIamRole": {
- "id": "0262e4d6-023c-4956-a41f-d37ae591830f",
- "awsId": "547096128372",
- "name": "Organization rescan IAM Role"
}, - "scopeAccessType": "Full",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}
]
}, - {
- "id": "23eb748b-88bc-47f0-9f72-db603fb03e48",
- "name": "Backup AWS Organization",
- "description": "Centralized management of AWS accounts and resources.",
- "awsId": "o-345example",
- "arn": "arn:aws:organizations::657096128372:organization/o-345example",
- "backupIamRoleName": "Backup and restore IAM Role",
- "productionWorkerIamRoleName": "Production worker IAM Role",
- "rescanIamRole": {
- "id": "f7b9aa5b-a493-40c8-9dab-0c7c561c9796",
- "awsId": "657096128372",
- "name": "Organization rescan IAM Role"
}, - "scopeAccessType": "Limited",
- "limitedScopes": [
- {
- "id": "cb6e10ed-fc55-44f6-85ec-0c27a4eff852",
- "spec": {
- "name": "Dev Department",
- "includedMembers": [
- "ou-1234-5example",
- "ou-4567-8example"
]
}, - "statistics": {
- "units": 2,
- "accounts": 5
}
}, - {
- "id": "5c333660-9c81-48cb-b932-3d1af14b5928",
- "spec": {
- "name": "DEV",
- "includedMembers": [
- "ou-8434-1example"
]
}, - "statistics": {
- "units": 1,
- "accounts": 6
}
}
], - "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}
]
}
], - "totalCount": 2,
- "_links": [
- {
- "method": "POST",
- "rel": "create",
},
]
}
Add AWS Organization
The HTTP POST request to the /organizations/amazon
endpoint adds an AWS Organization to the Veeam Backup for AWS configuration database.
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
required | object (AmazonOrganizationSpec) Specifies information on the AWS Organization. |
Array of objects (AmazonOrganizationLimitedScopeSpec) unique [Applies only if Veeam Backup for AWS has limited access to resources within the AWS Organization] Specifies a list of limited scopes of organizational units. |
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.
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
{- "organization": {
- "name": "string",
- "description": "string",
- "rescanIamRoleId": "c963aa50-056c-4578-a8af-77ff0aca8807",
- "backupIamRoleName": "string",
- "productionWorkerIamRoleName": "string",
- "scopeAccessType": "Full"
}, - "limitedScopes": [
- {
- "name": "string",
- "includedMembers": [
- "string"
]
}
]
}
- 202
- 400
- 401
- 403
{- "sessionId": "95fddea4-52fb-47e4-a1bb-ddf60093a6cd",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Get AWS Organization Data
The HTTP GET request to the /organizations/amazon/{organizationId}
endpoint retrieves information on an AWS Organization with the specified ID.
path Parameters
organizationId required | string <uuid> System ID assigned to an AWS Organization 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 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. Failed to find one or more resources specified in the request 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/organizations/amazon/{organizationId}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 403
- 404
{- "id": "45e4cf4b-907d-427f-be78-cf3cef9aa51e",
- "name": "Primary AWS Organization",
- "description": "Centralized management of AWS accounts and resresources.",
- "awsOrganizationId": "o-123example",
- "arn": "arn:aws:organizations::123456789012:organization/o-123example",
- "backupIamRoleName": "Backup and restore IAM Role",
- "rescanIamRole": {
- "id": "0262e4d6-023c-4956-a41f-d37ae591830f",
- "awsId": "547096128372",
- "name": "Organization rescan IAM Role"
}, - "scopeAccessType": "Full",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}
]
}
Modify AWS Organization
The HTTP PUT request to the /organizations/amazon/{organizationId}
endpoint updates settings of an AWS Organization with the specified ID.
path Parameters
organizationId required | string <uuid> System ID assigned to an AWS Organization 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
required | object (AmazonOrganizationSpec) Specifies information on the AWS Organization. |
Array of objects (AmazonOrganizationLimitedScopeSpec) unique [Applies only if Veeam Backup for AWS has limited access to resources within the AWS Organization] Specifies a list of new limited scopes of organizational units to be created. | |
Array of objects (AmazonOrganizationLimitedScopeExistingSpec) unique [Applies only if Veeam Backup for AWS has limited access to resources within the AWS Organization] Specifies a list of existing limited scopes of organizational units to be updated. |
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).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. Failed to find one or more resources specified in the request 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
{- "organization": {
- "name": "string",
- "description": "string",
- "rescanIamRoleId": "c963aa50-056c-4578-a8af-77ff0aca8807",
- "backupIamRoleName": "string",
- "productionWorkerIamRoleName": "string",
- "scopeAccessType": "Full"
}, - "newLimitedScopes": [
- {
- "name": "string",
- "includedMembers": [
- "string"
]
}
], - "changedLimitedScopes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "spec": {
- "name": "string",
- "includedMembers": [
- "string"
]
}
}
]
}
- 200
- 400
- 401
- 403
- 404
{- "id": "45e4cf4b-907d-427f-be78-cf3cef9aa51e",
- "name": "Primary AWS Organization",
- "description": "Centralized management of AWS accounts and resources.",
- "awsOrganizationId": "o-123example",
- "arn": "arn:aws:organizations::123456789012:organization/o-123example",
- "backupIamRoleName": "Backup and restore IAM Role",
- "rescanIamRole": {
- "id": "0262e4d6-023c-4956-a41f-d37ae591830f",
- "awsId": "547096128372",
- "name": "Organization rescan IAM Role"
}, - "scopeAccessType": "Full",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}
]
}
Remove AWS Organization
The HTTP DELETE request to the /organizations/amazon/{organizationId}
endpoint removes an AWS Organization with the specified ID from the Veeam Backup for AWS configuration database.
Before you remove an AWS Organization from the configuration database, make sure that the organization is not used by Veeam Backup for AWS.
path Parameters
organizationId required | string <uuid> System ID assigned to an AWS Organization 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 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. Failed to find one or more resources specified in the request 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/organizations/amazon/{organizationId}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 400
- 401
- 403
- 404
{- "title": "string",
- "status": 400,
- "errorCode": "AccessDenied",
- "details": "string",
- "data": {
- "property1": { },
- "property2": { }
}
}
Get AWS Organization Structure Rescan Results
The HTTP POST request to the /organizations/amazon/rescan/{sessionId}/identitiesInMemory
endpoint allows you to retrieve the results of a structure rescan task with the specified ID, performed for an AWS Organization that has not yet been added to the Veeam Backup for AWS configuration database.
To retrieve the structure of the entire organization, specify the sessionId parameter and set the expandChildNodes parameter to true. If you specify only the sessionId parameter, the response will return the structure of the top-level node.
path Parameters
sessionId required | string <uuid> Specifies the system ID in the Veeam Backup for AWS REST API that is assigned to a structure rescan session performed for an AWS Organization. |
query Parameters
ContainerId | string Specifies the AWS ID of an organizational unit whose structure must be returned in the response. |
expandChildNodes | boolean Defines whether to return all child AWS identities within the AWS Organization, the specified organizational unit, or the defined scope of organizational units. |
ReturnAsTree | boolean Defines whether the structure of the AWS Organization must be represented in the hierarchical format. |
offset | integer <int32> Excludes from a response the first N items of AWS identities. |
limit | integer <int32> Specifies the maximum number of items of AWS identities to return in a response. |
SearchPattern | string Returns only those items of AWS identities whose names match the specified search pattern in the parameter value. |
TypeFilter | string Specifies a type of AWS identity that must be returned 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. |
Request Body schema:
Specifies the scope of organizational units whose structure must be returned in the response.
includedMembers required | Array of strings unique Specifies AWS IDs of the organizational units that must be returned in the response. |
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).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. Failed to find one or more resources specified in the request 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
{- "includedMembers": [
- "string"
]
}
- 200
- 400
- 401
- 403
- 404
{- "identities": [
- {
- "name": "string",
- "awsId": "string",
- "parentAwsId": "string",
- "type": "Unit"
}
], - "tree": {
- "roots": [
- {
- "container": {
- "model": {
- "name": "string",
- "awsId": "string",
- "parentAwsId": "string",
- "type": "Unit"
}
}, - "accounts": [
- {
- "model": {
- "name": "string",
- "awsId": "string",
- "parentAwsId": "string",
- "type": "Unit"
}
}
], - "children": [
- { }
]
}
]
}, - "statistics": {
- "unitsCount": 0,
- "accountsCount": 0
}, - "totalCount": 0
}
Get Structure of AWS Organization Added to Veeam Backup for AWS
The HTTP POST request to the /organizations/amazon/{organizationId}/identitiesInDb
endpoint allows you to retrieve the structure of an AWS Organization added to the Veeam Backup for AWS configuration database, including AWS identities and their relationships.
To retrieve the structure of the entire organization, specify the organizationId parameter and set the expandChildNodes parameter to true. If you specify only the organizationId parameter, the response will return the structure of the top-level node.
path Parameters
organizationId required | string <uuid> Specifies the system ID assigned to an AWS Organization in the Veeam Backup for AWS REST API. |
query Parameters
ContainerId | string <uuid> Specifies the system ID assigned in the Veeam Backup for AWS REST API to an organizational unit whose structure must be returned in the response. |
LimitedScopeId | string <uuid> Specifies the system ID assigned to a limited scope of organizational units in the Veeam Backup for AWS REST API. |
ExpandChildNodes | boolean Defines whether to return all child AWS identities within the AWS Organization, the specified organizational unit, or the defined scope of organizational units. |
ReturnAsTree | boolean Defines whether the structure of the AWS Organization must be represented in the hierarchical format. |
offset | integer <int32> Excludes from a response the first N items of AWS identities. |
limit | integer <int32> Specifies the maximum number of items of AWS identities to return in a response. |
SearchPattern | string Returns only those items of AWS identities whose names match the specified search pattern in the parameter value. |
TypeFilter | string Specifies a type of AWS identity that must be returned 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. |
Request Body schema:
Specifies the scope of organizational units whose structure must be returned in the response.
includedMembers required | Array of strings unique Specifies AWS IDs of the organizational units that must be returned in the response. |
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).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. Failed to find one or more resources specified in the request 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
{- "includedMembers": [
- "string"
]
}
- 200
- 400
- 401
- 403
- 404
{- "identities": [
- {
- "model": {
- "name": "string",
- "awsId": "string",
- "parentAwsId": "string",
- "type": "Unit"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d"
}
], - "tree": {
- "roots": [
- {
- "container": {
- "model": {
- "name": "string",
- "awsId": "string",
- "parentAwsId": "string",
- "type": "Unit"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d"
}, - "accounts": [
- {
- "model": {
- "name": "string",
- "awsId": "string",
- "parentAwsId": "string",
- "type": "Unit"
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",
- "limitedScopeId": "b6545d46-ca5a-4879-bb5f-c66e76373c5d"
}
], - "children": [
- { }
]
}
]
}, - "statistics": {
- "unitsCount": 0,
- "accountsCount": 0
}, - "totalCount": 0
}
Validate Removing of AWS Organization
The HTTP POST request to the /organizations/amazon/{organizationId}/validateDelete
endpoint checks whether the organization with the specified ID is not used by Veeam Backup for AWS and can be removed from the configuration database.
path Parameters
organizationId required | string <uuid> System ID assigned to an AWS Organization 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/organizations/amazon/{organizationId}/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"
}
]
Validate Removing of Multiple AWS Organizations
The HTTP POST request to the /organizations/amazon/validateDelete
endpoint checks whether the organizations with the specified IDs are not used by Veeam Backup for AWS and can be removed from the configuration database.
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
items required | Array of strings <uuid> unique |
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
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "items": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
- 200
- 400
- 401
- 403
- 404
{- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "errors": [
- {
- "severity": "Warning",
- "message": "string",
- "contextId": "84451116-c600-49e2-9c60-5b6b34fae0d6"
}
]
}
]
}
Check AWS Organization Configuration
The HTTP POST request to the /organizations/amazon/testConfiguration
endpoint checks whether the IAM role used to collect information on the specified AWS Organization has all the required permissions, and whether the IAM roles used to perform backup and restore operations meet the Veeam Backup for AWS requirements.
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
object (CreateAmazonOrganizationSpec) Specifies details on the AWS Organization you want to add. | |
object (UpdateAmazonOrganizationSpec) Specifies details on the AWS Organization you want to modify. | |
rescanSessionId | string <uuid> [Applies only if the AWS Organization has not yet been added to the Veeam Backup for AWS configuration database] Specifies the session ID of the infrastructure rescanning operation performed for an AWS Organization. |
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. Failed to find one or more resources specified in the request 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
{- "create": {
- "organization": {
- "name": "string",
- "description": "string",
- "rescanIamRoleId": "c963aa50-056c-4578-a8af-77ff0aca8807",
- "backupIamRoleName": "string",
- "productionWorkerIamRoleName": "string",
- "scopeAccessType": "Full"
}, - "limitedScopes": [
- {
- "name": "string",
- "includedMembers": [
- "string"
]
}
]
}, - "update": {
- "organization": {
- "name": "string",
- "description": "string",
- "rescanIamRoleId": "c963aa50-056c-4578-a8af-77ff0aca8807",
- "backupIamRoleName": "string",
- "productionWorkerIamRoleName": "string",
- "scopeAccessType": "Full"
}, - "newLimitedScopes": [
- {
- "name": "string",
- "includedMembers": [
- "string"
]
}
], - "changedLimitedScopes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "spec": {
- "name": "string",
- "includedMembers": [
- "string"
]
}
}
]
}, - "rescanSessionId": "10437ea3-6ba6-4b6e-a615-0ea67a25e346"
}
- 202
- 400
- 401
- 403
- 404
{- "sessionId": "95fddea4-52fb-47e4-a1bb-ddf60093a6cd",
- "_links": [
- {
- "method": "GET",
- "rel": "self",
}
]
}
Export Collection of AWS Organizations
The HTTP POST request to the /api/v1/organizations/amazon/export
endpoint exports a list of all AWS Organizations 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.
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
- curl
- Python
- JavaScript
- C#
- Go
curl -i -X POST \ https://helpcenter.veeam.com/api/v1/organizations/amazon/export \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
Check Adding AWS Organization
The HTTP POST request to the /organizations/amazon/checkOrganizationExists
endpoint checks whether the AWS organization to which the specified IAM role belongs has already been added to the Veeam Backup for AWS configuration database.
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
rescanIamRoleId required | string <uuid> Specifies the system ID assigned to an IAM role in the Veeam Backup for AWS REST API. The permissions of this role are used to collect information on the AWS Organization. |
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).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. Failed to find one or more resources specified in the request 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
{- "rescanIamRoleId": "c963aa50-056c-4578-a8af-77ff0aca8807"
}
- 200
- 400
- 401
- 403
- 404
{- "isRescanIamRoleValid": false,
- "conflictingOrganizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Validate AWS Organization Name
The HTTP POST request to the /organizations/amazon/validateName
endpoint checks whether the name you plan to specify for an AWS Organization in Veeam Backup for AWS is unique and meets the Veeam Backup for AWS requirements.
The length of the AWS Organization name must not exceed 127 characters.
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
organizationName required | string Specifies a name for an AWS Organization. |
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).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. Failed to find one or more resources specified in the request 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
{- "organizationName": "string"
}
- 200
- 400
- 401
- 403
- 404
{- "isValid": true,
- "isUnique": true
}
Validate AWS Organization Settings
The HTTP POST request to the /organizations/amazon/validateOrganization
endpoint validates the configured settings of an AWS Organization before adding it to Veeam Backup for AWS or modifying it.
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
object (CreateAmazonOrganizationSpec) Specifies details on the AWS Organization you want to add. | |
object (UpdateAmazonOrganizationSpec) Specifies details on the AWS Organization you want to modify. | |
rescanSessionId | string <uuid> [Applies only if the AWS Organization has not yet been added to the Veeam Backup for AWS configuration database] Specifies the session ID of the infrastructure rescanning operation performed for an AWS Organization. |
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).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Not Found. Failed to find one or more resources specified in the request 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
{- "create": {
- "organization": {
- "name": "string",
- "description": "string",
- "rescanIamRoleId": "c963aa50-056c-4578-a8af-77ff0aca8807",
- "backupIamRoleName": "string",
- "productionWorkerIamRoleName": "string",
- "scopeAccessType": "Full"
}, - "limitedScopes": [
- {
- "name": "string",
- "includedMembers": [
- "string"
]
}
]
}, - "update": {
- "organization": {
- "name": "string",
- "description": "string",
- "rescanIamRoleId": "c963aa50-056c-4578-a8af-77ff0aca8807",
- "backupIamRoleName": "string",
- "productionWorkerIamRoleName": "string",
- "scopeAccessType": "Full"
}, - "newLimitedScopes": [
- {
- "name": "string",
- "includedMembers": [
- "string"
]
}
], - "changedLimitedScopes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "spec": {
- "name": "string",
- "includedMembers": [
- "string"
]
}
}
]
}, - "rescanSessionId": "10437ea3-6ba6-4b6e-a615-0ea67a25e346"
}
- 200
- 400
- 401
- 403
- 404
[- {
- "severity": "Warning",
- "message": "string",
- "contextId": "84451116-c600-49e2-9c60-5b6b34fae0d6"
}
]