- About Veeam Plug-in for Nutanix AHV REST API
- Overview
- Changelog
- Authorization
- Backup Appliance Settings
- Backup Server
- Prism Centrals
- Clusters
- getGet Collection of Clusters
- getGet Cluster Data
- getGet Collection of Virtual Machines
- postInfrastructure Rescan for Virtual Machines
- getGet Virtual Machine Data
- getGet Collection of Protection Domains
- postInfrastructure Rescan for Protection Domains
- getGet Collection of Networks
- getGet Collection of Storage Containers
- getGet Collection of Cluster Hosts
- getGet Collection of Volume Groups in Cluster
- getGet Volume Group Data
- postInfrastructure Rescan for Volume Groups
- postCluster Rescan for Snapshots
- Dashboard
- getGet Resource Usage Statistics
- getGet Session Status Statistics for Last 24 Hours
- getGet Job Type Statistics
- getGet Number of Protected VMs
- getGet Collection of Unprotected VMs
- getGet Collection of Protected VMs
- getGet Collection of Recent Job Sessions Duration
- getGet Collection of Available Backup Repositories
- Jobs
- Monitoring
- Protected VMs
- Restore Points
- getGet VM Restore Points
- getGet Restore Point Data
- delDelete Restore Point
- getGet Protection Domain Snapshot Data
- getGet Backup Snapshot Data
- getGet User Snapshot Data
- getGet Backup Data
- postPerform VM Restore
- postPerform Disk Restore
- getGet Collection of Disks From Restore Point
- getGet Collection of Network Adapters From Restore Point
- Sessions
- SMTP Account
- Time Zones
- User Accounts
- Workers
- Virtual Machines
Veeam Backup for Nutanix AHV REST API authorization process involves obtaining an access token — a string that represents authorization issued to the user and that must be send in the Bearer <Access-Token> format in the Authorization
header in all requests during the current logon session.
The /token
resource collection allows a Veeam Backup for Nutanix AHV user to authenticate himself and authorize his access to the Veeam Backup for Nutanix AHV REST API.
To learn more about the authorization process and security settings, see the Veeam Backup for Nutanix AHV REST API Reference Overview, section Authorization and Security.
Request Authorization Tokens
The HTTP POST request to the /token
endpoint allows you to authorize your access to the Veeam Backup for Nutanix AHV REST API.
Request Body schema: application/x-www-form-urlencodedrequired
grantType write-only required | string (GrantType) Grant type that will be used to authenticate a user. |
userName | string or null [Required if the |
password | string or null <password> [Required if the |
refreshToken | string or null [Required if the |
updaterToken | string or null [Required if the |
longLivedRefreshToken | boolean Default: false Defines whether the expiration time of the refresh token is increased to 14 days. |
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 at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
grantType=Password&userName=string&password=pa%24%24word&refreshToken=string&updaterToken=string&longLivedRefreshToken=false
- 200
- 400
- 401
- 403
- 500
{- "accessToken": "string",
- "refreshToken": "string",
- "accessTokenExpiresAt": "2019-08-24T14:15:22Z",
- "refreshTokenExpiresAt": "2019-08-24T14:15:22Z"
}
Logout
The HTTP POST request to the /logout
endpoint performs the logout operation for an authorized user.
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
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
- 400
- 401
- 403
- 500
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "extensions": {
- "property1": { },
- "property2": { }
}
}