- 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
Get Collection of Users
The HTTP GET request to the /users
endpoint returns a list of all created Veeam Backup for AWS users.
query Parameters
SearchPattern | string Returns only those items of a resource collection whose names match the specified search pattern in the parameter value. |
Sort | Array of strings Specifies the order of items in the response. For more information, see the Veeam Backup for AWS REST API Reference Overview, section Sort Parameter. |
Offset | integer <int32> >= 0 Excludes from a response the first N items of a resource collection. |
Limit | integer <int32> >= -1 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
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 GET \ 'https://helpcenter.veeam.com/api/v1/users?SearchPattern=string&Sort=nameAsc&Offset=0&Limit=-1' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 401
- 403
- 404
[- {
- "totalCount": 2,
- "results": [
- {
- "accountType": "Internal",
- "name": "administrator",
- "description": "Default Admin",
- "roles": [
- {
- "id": "fe47645d-1991-4716-9c86-d91e2f7f0c82",
- "name": "Portal Administrator"
}
], - "mfaEnabled": true,
- "isDefault": true,
- "links": [
- {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}, - {
- "method": "POST",
- "rel": "DisableMfa",
}
]
}, - {
- "accountType": "External",
- "name": "sara_baker@companymail.com",
- "description": "Dept-01 user",
- "roles": [
- {
- "id": "179ddbc1-b444-4fad-a3ce-a52a5441dde8",
- "name": "Portal Operator"
}
], - "mfaEnabled": false,
- "isDefault": false,
- "links": [
- {
- "method": "Get",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}
]
}
],
}
]
Add User Account
The HTTP POST request to the /users
endpoint adds a new user account to the Veeam Backup for AWS configuration database.
Before you create a new user, you can check whether a user name, user description and password you plan to specify meet the Veeam Backup for AWS requirements. For more information, see the Validate User Name, Validate User Description and Validate User Password sections in the REST API Reference.
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 non-empty Specifies a user name for the new user. |
description required | string Specifies a user description for the new user. |
accountType required | string (UserAccountType) Type of the user account. Internal type for the user created in Veeam Backup for AWS. External type for the user retrieved from the identity provider. |
roleId required | string <uuid> Specifies a system ID assigned in the Veeam Backup for AWS REST API to the user role that will be assigned to the user. |
password | string non-empty Specifies a password of the new user. |
Created
Bad Request. The request body is malformed, incomplete or 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
{- "name": "john_smith",
- "description": "Operator for Dept-01",
- "password": "Admin123",
- "accountType": "Internal",
- "roleId": "fe47645d-1991-4716-9c86-d91e2f7f0c82"
}
- 201
- 400
- 401
- 403
{- "accountType": "Internal",
- "id": "58df4304-9592-4d6b-8f42-a0b0ec30d9dc",
- "name": "john_smith",
- "description": "Operator for Dept-01",
- "roles": [
- {
- "id": "fe47645d-1991-4716-9c86-d91e2f7f0c82",
- "name": "Portal Administrator"
}
], - "mfaEnabled": false,
- "isDefaultAdmin": false,
- "_links": [
- {
- "method": "DELETE",
- "rel": "delete",
}, - {
- "method": "POST",
- "rel": "EnableMfa",
}
]
}
Get Collection of User Roles
The HTTP GET request to the /users/roles
endpoint retrieves a list of roles that can be assigned to a user in Veeam Backup for AWS.
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).
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 GET \ https://helpcenter.veeam.com/api/v1/users/roles \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 401
- 403
- 404
{- "totalCount": 3,
- "results": [
- {
- "id": "fe47645d-1991-4716-9c86-d91e2f7f0c82",
- "name": "Portal Administrator"
}, - {
- "id": "179ddbc1-b444-4fad-a3ce-a52a5441dde8",
- "name": "Portal Operator"
}, - {
- "id": "4006ade0-015e-4cb0-adbe-f5af2506e1c2",
- "name": "Restore Operator"
}
]
}
Get User Data
The HTTP GET request to the /users/{userName}
endpoint retrieves information on a specific user.
path Parameters
userName required | string Name of the Veeam Backup for AWS user. Example: sara_baker@companymail.com |
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).
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 GET \ 'https://helpcenter.veeam.com/api/v1/users/{userName}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 200
- 401
- 403
- 404
[- {
- "accountType": "External",
- "id": "e4a66367-5dd6-4dea-aa77-a29fdc3123a9",
- "name": "sara_baker@companymail.com",
- "description": "Dept-01 user",
- "roles": [
- {
- "id": "179ddbc1-b444-4fad-a3ce-a52a5441dde8",
- "name": "Portal Operator"
}
], - "mfaEnabled": false,
- "isDefault": false,
- "links": [
- {
- "method": "Get",
- "rel": "self",
}, - {
- "method": "PUT",
- "rel": "update",
}, - {
- "method": "DELETE",
- "rel": "delete",
}
]
}
]
Modify User Account
The HTTP PUT request to the /users/{userName}
endpoint updates user account settings for a specific user.
Before you change user account settings, you can check whether a user description and password you plan to specify meet the Veeam Backup for AWS requirements. For more information, see the Validate User Description and Validate User Password sections in the REST API Reference.
path Parameters
userName required | string Name of the Veeam Backup for AWS user. Example: john_smith |
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
description required | string Specifies a new description for the user. |
roleId required | string <uuid> Specifies a system ID assigned in the Veeam Backup for AWS REST API to the user role that will be assigned to the user. |
password | string [Applies only to users with the internal type] Specifies a new password for the user. |
oldPassword | string [Applies only to users with the internal type] Specifies the current password of the user. |
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. 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
{- "description": "Restore operator for Dept-01",
- "roleIds": [
- "4006ade0-015e-4cb0-adbe-f5af2506e1c2"
], - "password": "AdminForDept1",
- "oldPassword": "Admin123"
}
- 200
- 400
- 401
- 403
- 404
{- "accountType": "Internal",
- "id": "58df4304-9592-4d6b-8f42-a0b0ec30d9dc",
- "name": "john_smith",
- "description": "Restore operator for Dept-01",
- "roles": [
- {
- "id": "4006ade0-015e-4cb0-adbe-f5af2506e1c2",
- "name": "Restore Operator"
}
], - "mfaEnabled": false,
- "isDefaultAdmin": false,
- "_links": [
- {
- "method": "DELETE",
- "rel": "delete",
}, - {
- "method": "POST",
- "rel": "EnableMfa",
}
]
}
Remove User Account
The HTTP DELETE request to the /users/{userName}
endpoint deletes a specific user.
path Parameters
userName required | string User name of the Veeam Backup for AWS user. Example: john_smith |
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
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/users/{userName}' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 401
- 403
- 404
{- "title": "string",
- "status": 400,
- "errorCode": "AccessDenied",
- "details": "string",
- "data": {
- "property1": { },
- "property2": { }
}
}
Validate User Name
The HTTP POST request to the /users/validateName
endpoint checks whether a user name you plan to specify for a new user is unique and meets the Veeam Backup for AWS requirements.
A name of a Veeam Backup for AWS user can contain only lowercase Latin letters, numeric characters, underscores and dashes. You can use the dollar sign ($) as the last character of the user 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 non-empty Name that you plan to specify for a user. |
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
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "name": "rayan_smith"
}
- 200
- 400
- 401
- 403
[- {
- "severity": "Warning",
- "message": "string",
- "contextId": "84451116-c600-49e2-9c60-5b6b34fae0d6"
}
]
Validate User Description
The HTTP POST request to the /users/validateDescription
endpoint checks whether a user description you plan to specify for a user meets the Veeam Backup for AWS requirements.
The Veeam Backup for AWS user description must not exceed 255 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: required
description required | string Description that you plan to specify for a user. |
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
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "description": "Dept-02 user"
}
- 200
- 400
- 401
- 403
[- {
- "severity": "Warning",
- "message": "string",
- "contextId": "84451116-c600-49e2-9c60-5b6b34fae0d6"
}
]
Validate User Password
The HTTP POST request to the /users/validatePassword
endpoint checks whether a user password you plan to specify for a user meets the Veeam Backup for AWS requirements.
To meet the security level required in Veeam Backup for AWS, password must be at least 8 characters long and contain uppercase, lowercase letters and numeric characters. Do not use monotonic sequences in the password.
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
password required | string non-empty Password that you plan to specify for a user. |
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
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "password": "Administrator1"
}
- 200
- 400
- 401
- 403
[- {
- "severity": "Warning",
- "message": "string",
- "contextId": "84451116-c600-49e2-9c60-5b6b34fae0d6"
}
]
Get MFA Secret Key
The HTTP POST request to the /api/v1/users/{userName}/enableMfa
endpoint retrieves an MFA secret key and a token used to assosiate an authenticator application with the authorization server. For more information on how to enable MFA for a user, see the Veeam Backup for AWS REST API Reference Overview, section Multi-Factor Authentication.
path Parameters
userName required | string Name of the user you want to enable MFA for. Example: administrator |
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
recreate required | boolean Defines whether you want to recreate the existing MFA secret key (true) or to enable MFA for the user (false). |
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. 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
{- "recreate": false
}
- 200
- 400
- 401
- 403
- 404
{- "userName": "administrator",
- "qrString": "otpauth://totp/administrator&40ip-172-31-71-115?secret=5XKNCVA54BPWQWCXLJZYLMIBD4&issuer=ip-172-31-71-115",
- "secretKey": "5XKNCVA54BPWQWCXLJZYLMIBD4",
- "token": "M0Q1OEMwOEQ5MTRFNzMwMzE5MTkzMUU5MDVCNjNENzREMTQ0MDYyRUJFNEE0QjI5MzEzNzVEMUE1QURFNzBENA=="
}
Enable MFA for User
The HTTP POST request to the /api/v1/users/{userName}/acceptMfa
endpoint assosiates an authenticator application with the authorization server. For more information on how to enable MFA for a user, see the Veeam Backup for AWS REST API Reference Overview, section Multi-Factor Authentication.
path Parameters
userName required | string Name of the user you want to enable MFA for. Example: administrator |
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
code required | string non-empty Six-digit verification code generated by an authenticator application on the trusted device. |
token required | string non-empty Token previously received from the authorization server. |
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. 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
{- "code": 475112,
- "token": "M0Q1OEMwOEQ5MTRFNzMwMzE5MTkzMUU5MDVCNjNENzREMTQ0MDYyRUJFNEE0QjI5MzEzNzVEMUE1QURFNzBENA=="
}
- 400
- 401
- 403
- 404
{- "title": "string",
- "status": 400,
- "errorCode": "AccessDenied",
- "details": "string",
- "data": {
- "property1": { },
- "property2": { }
}
}
Disable MFA for User
The HTTP POST request to the /api/v1/users/{userName}/disableMfa
endpoint disables MFA for a specific user.
path Parameters
userName required | string Name of the user you want to disable MFA for. Example: administrator |
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).
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/users/{userName}/disableMfa' \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'
- 401
- 403
- 404
{- "title": "string",
- "status": 400,
- "errorCode": "AccessDenied",
- "details": "string",
- "data": {
- "property1": { },
- "property2": { }
}
}
Verify First Login
The HTTP GET request to the /api/v1/users/isFirstLogin
endpoint assures that you log in to Veeam Backup for AWS for the first time.
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. 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/users/isFirstLogin \ -H 'x-api-version: 1.7-rev0'
- 200
- 400
- 401
- 403
- 404
{- "isFirstLogin": true
}
Validate Backup Appliance Instance ID
The HTTP POST request to the /api/v1/users/checkInstanceId
endpoint validates the ID of the EC2 instance where Veeam Backup for AWS is installed.
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
instanceId required | string Specifies the ID of the EC2 instance where Veeam Backup for AWS is installed. |
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
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "instanceId": "i-813g91u0b0c019356"
}
- 200
- 400
- 401
- 403
{- "isValid": true
}
Create Default User
The HTTP POST request to the /api/v1/users/createdefaultuser
endpoint creates the default user whose credentials you will use for the first login to Veeam Backup for AWS.
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
required | object (CheckInstanceIdSpec) AWS ID of the backup appliance. |
required | object (DefaultUserCreateSpec) Specifies user properties. |
Created
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.
The license agreement has not been accepted.
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
{- "instance": {
- "instanceId": "i-813g91u0b0c019356"
}, - "userSpec": {
- "name": "administrator",
- "description": "The default user.",
- "password": "Passw231"
}
}
- 201
- 400
- 401
- 403
- 409
{- "name": "administrator",
- "description": "The default user.",
- "mfaEnabled": false,
- "isDefault": true
}
Export Collection of Users
The HTTP POST request to the /users/export
endpoint exports a list of all created Veeam Backup for AWS users 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/users/export \ -H 'Authorization: YOUR_API_KEY_HERE' \ -H 'x-api-version: 1.7-rev0'