- About Veeam Backup & Replication REST API
- Overview
- How To
- Changelog
- Login
- Service
- Services
- Credentials
- getGet All Credentials
- postAdd Credentials Record
- getGet Credentials Record
- putEdit Credentials Record
- delRemove Credentials Record
- postChange Password
- postChange Linux Private Key
- postChange Linux Root Password
- getGet All Cloud Credentials
- postAdd Cloud Credentials Record
- postGet Verification Code
- postRegister Azure AD Application
- getGet Cloud Credentials Record
- putEdit Cloud Credentials Record
- delRemove Cloud Credentials Record
- postChange Secret Key
- postChange Certificate
- getGet All Helper Appliances
- postAdd or Edit Helper Appliance
- getGet Helper Appliance
- delRemove Helper Appliance
- Encryption
- Connection
- Cloud Browser
- Inventory Browser
- Traffic Rules
- General Options
- Configuration Backup
- Managed Servers
- Repositories
- getGet All Repositories
- postAdd Repository
- getGet All Repository States
- getGet Repository
- putEdit Repository
- delRemove Repository
- getGet All Scale-Out Backup Repositories
- postAdd Scale-Out Backup Repository
- getGet Scale-Out Backup Repository
- putEdit Scale-Out Backup Repository
- delRemove Scale-Out Backup Repository
- postEnable Sealed Mode
- postDisable Sealed Mode
- postEnable Maintenance Mode
- postDisable Maintenance Mode
- Proxies
- Jobs
- Backups
- Backup Objects
- Object Restore Points
- Restore
- Sessions
- Agents
- Automation
- postImport Jobs
- postExport Jobs
- postImport Credentials
- postExport Credentials
- postImport Cloud Credentials
- postExport Cloud Credentials
- postImport Proxies
- postExport Proxies
- postImport Servers
- postExport Servers
- postImport Repositories
- postExport Repositories
- postImport Encryption Passwords
- postExport Encryption Passwords
- getGet All Automation Sessions
- getGet Automation Session
- getGet Automation Session Logs
- postStop Automation Session
The Agents section defines paths and operations for managing recovery tokens used for bare metal recovery.
Get All Recovery Tokens
The HTTP GET request to the /api/v1/agents/recoveryTokens
path allows you to get an array of all recovery tokens.
query Parameters
skip | integer <int32> Number of recovery tokens to skip. |
limit | integer <int32> Maximum number of recovery tokens to return. |
orderColumn | string (EComputerRecoveryTokenFiltersOrderColumn) Sorts recovery tokens by one of the parameters. |
orderAsc | boolean Sorts recovery tokens in the ascending order by the |
nameFilter | string Filters recovery tokens by the |
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 500
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "recoveryToken": "string",
- "expirationDate": "2019-08-24T14:15:22Z"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "skip": 0,
- "limit": 0
}
}
Create Recovery Token
The HTTP POST request to the /api/v1/agents/recoveryTokens
path allows you to create a new recovery token.
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
backupIds required | Array of strings <uuid> Array of backup IDs whose data you want to restore with the recovery token. |
expirationDate required | string <date-time> Date and time when the access token expires. |
Recovery token has been created.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "backupIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "expirationDate": "2019-08-24T14:15:22Z"
}
- 200
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "recoveryToken": "string",
- "expirationDate": "2019-08-24T14:15:22Z"
}
Get Recovery Token
The HTTP GET request to the /api/v1/agents/recoveryTokens/{id}
path allows you to get a recovery token that has the specified id
.
path Parameters
id required | string <uuid> ID of the recovery token. |
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
OK
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "recoveryToken": "string",
- "expirationDate": "2019-08-24T14:15:22Z"
}
Edit Recovery Token
The HTTP PUT request to the /api/v1/agents/recoveryTokens/{id}
path allows you to edit settings of a recovery token that has the specified id
.
path Parameters
id required | string <uuid> ID of the recovery token. |
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
Request Body schema: application/jsonrequired
id required | string <uuid> ID of the recovery token. |
name required | string Friendly name of the recovery token. |
expirationDate required | string <date-time> Date and time when the recovery token expires. |
recoveryToken | string Recovery token. |
Recovery token has been updated.
Bad request. This error is related to POST/PUT requests. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "recoveryToken": "string",
- "expirationDate": "2019-08-24T14:15:22Z"
}
- 200
- 400
- 401
- 403
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "recoveryToken": "string",
- "expirationDate": "2019-08-24T14:15:22Z"
}
Delete Recovery Token
The HTTP DELETE request to the /api/v1/agents/recoveryTokens/{id}
path allows you to delete a recovery token that has the specified id
.
path Parameters
id required | string <uuid> ID of the recovery token. |
header Parameters
x-api-version required | string Default: 1.1-rev0 Version and revision of the client REST API. Must be in the following format: |
Token has been deleted.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending the request does not have adequate privileges to access one or more objects specified in the request.
Not found. No object was found with the path parameter specified in the request.
Internal server error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 204
- 401
- 403
- 404
- 500
{ }