Get User Backup Resources
You can get a representation of a collection of all cloud repository resources available to a Subtenant user with the specified ID.
Request
To get subtenant cloud repository resources in Veeam Availability Console, send the GET HTTPS request to the URL of the /users/{ID}/backupResources collection.
HTTP Request
GET https://<Availability-Console>:1281/v2/users/{ID}/backupResources |
Request Headers
The request header must contain the authorization token for the current logon session.
Response
The server returns the following response to the client.
Response Code
A successfully completed operation returns response code 200 Success.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTP headers.
Header | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the request body message: application/json; charset=utf-8 |
Response Body
In the response body, Veeam Availability Console returns a representation of the /users/{ID}/backupResources collection.
Example
The following request returns all cloud repository resources available in Veeam Availability Console for a user with ID 5.
Request: GET https://localhost:1281/v2/users/5/backupResources
Request Header: Authorization: Bearer <Access-Token>
Response Code: 200 Success
Response Body: { "id": "18307f2b-6b32-4299-b0b1-c13b3766d9d6", "quotaName": "User Quota", "storageQuota": 100, "storageQuotaUnits": "GB", "usedStorageQuota": 0, "usedStorageQuotaUnits": "B", "_links": { "self": { "href": "https://vac.tech.local:1281/v2/users/5/backupResources/18307f2b-6b32-4299-b0b1-c13b3766d9d6" } } } |