Generate token
https://<hostname>:<port>/swagger/ui/index.html
* Default port: 9419
On the Veeam Backup & Replication REST API 1.0 page, expand the Login section and click POST api/oauth2/token.
In the expanded method window, click Test.
In the grant_type drop-down list, select password.
In the username and password fields, specify the credentials of a user created in Veeam Backup & Replication.
Click on Execute.
Wait for the response from the server. A successfully completed operation returns the response code 200. In the body of the response, Veeam Backup & Replication returns an access token, its expiration time and an update token.
* Remember that the duration of the access token is only 15 minutes.