- About Veeam Backup for Microsoft Azure REST API
- Overview
- Authorization
- Configuration Restore
- postRestore Backup Appliance Configuration
- postCancel Configuration Restore
- getGet Configuration Restore Session
- postImport Configuration Backup File
- getGet Configuration Backup File Metadata
- postCheck Imported Configuration Backup File
- getGet Configuration Restore Status
- postComplete Configuration Restore
- Logs
- System
Veeam Backup for Microsoft Azure REST API authorization process involves obtaining an access token — a string that represents authorization issued to the user and that must be sent in the Bearer <Access-Token> format in the Authorization
header in all requests during the current logon session.
The /oauth2/token
collection allows a Veeam Backup for Microsoft Azure user to authenticate himself and authorize his access to the Veeam Backup for Microsoft Azure REST API.
Request Authorization Tokens
The HTTP POST request to the /oauth2/token
endpoint allows a user to authorize his access to the Veeam Backup for Microsoft Azure REST API.
Request Body schema: application/x-www-form-urlencoded
username | string or null [Required if the |
password | string or null <password> [Required if the |
refresh_token | string or null [Required if the |
grant_type | string (GrantType) Grant type that will be used to authenticate a user. |
mfa_token | string or null [Required if the |
mfa_code | string or null [Required if the |
updater_token | string or null [Required if the |
saml_response | string or null [Required if the |
sso_token | string or null [Required if the |
short_lived_refresh_token | boolean or null Defines whether to decrease the refresh token lifetime to 60 minutes. |
Success
Bad Request
Unauthorized
- Payload
- curl
username=string&password=pa%24%24word&refresh_token=string&grant_type=Password&mfa_token=string&mfa_code=string&updater_token=string&saml_response=string&sso_token=string&short_lived_refresh_token=true
- 200
- 400
- 401
{- "access_token": "string",
- "token_type": "string",
- "refresh_token": "string",
- "expires_in": 0,
- ".issued": "2019-08-24T14:15:22Z",
- ".expires": "2019-08-24T14:15:22Z",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "username": "string",
- "roleName": "string",
- "userType": "Internal",
- "latestNewsShown": true,
- "mfa_enabled": true,
- "mfa_token": "string",
- "redirectTo": "string",
- "shortLived": true
}
Logout
The HTTP DELETE request to the /oauth2/token
endpoint performs the logout operation for an authorized user.
query Parameters
api-version | string Specifies the current version of the Veeam Backup for Microsoft Azure REST API. |
Success
Bad Request
Unauthorized
Forbidden
- curl
- 400
- 401
- 403
{- "detail": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "status": 0,
- "title": "string",
- "traceId": "string",
- "type": "string"
}