Get List of Subscriptions by Token
You can get a list of all subscriptions available for the automatically created repository account.
To retrieve a representation of a collection of subscriptions, send the HTTP POST request to the /accounts/azure/repository/listSubscriptionsByToken endpoint.
If you authenticate to edit an existing account enter a system ID of an account you want to edit. To do that, specify the editAccount parameter after the endpoint of the request URL: ?editAccount=142.
The request contains the following headers.
Authenticates a client who sends the request to the server. Must contain the access token for the current logon session in the Bearer <Access-Token> format.
To get a list of all subscriptions, send the parameters of the AzureAuthenticationResultV2 schema in the request body.
To obtain an accessTokenCache, follow the instructions in section Authenticate Repository Account.
The server returns the following response to the client.
A successfully completed operation returns a response code 202 (Accepted).
The response to this request contains the following headers. The response may also include additional standard HTTP headers.
Identifies the length of the response body message, in bytes.
Identifies the media type of the response body message.
In the response body, Veeam Backup for Microsoft Azure returns the ID of the session with 202 Code. To see the status of the operation and get results, see Asynchronous Operations.
The following request returns the operation ID with 202 Code and a link to the session log details.