Replace a Company Backup Resource
You can change parameters of a backup resource by replacing it in Veeam Service Provider Console configuration.
Request
To replace a backup resource in Veeam Service Provider Console, send the PUT HTTPS request to the URL of the /tenants/{ID}/backupResources/{ID} resource.
HTTP Request
Request Headers
The request header must contain the authorization token.
Request Body
In the request body, the client must send the following properties for the backup resource that will replace the existing one in Veeam Service Provider Console:
- backupRepositoryUid
- cloudRepositoryFriendlyName
- quota
- isWanAccelerationEnabled
- wanAcceleratorUid
Response
The server returns the following response to the client.
Response Code
A successfully completed operation returns response code 201 Created.
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 Service Provider Console returns a status and a message for an action.
Example
The following example replaces backup resource in Veeam Service Provider Console configuration.
Request: PUT https://localhost:1281/v2/tenants/2/backupResources/3
Request Header: Content-Type: application/json Authorization: Bearer <Access-Token>
Request Body: { "backupRepositoryUid": "88788f7e-d8f5-4ea4-bc4f-9b3f5403bcac", "cloudRepositoryFriendlyName": "Delta Cloud Vol01", "quota": { "storageGb": 300, "quotasIsUnlimited": false "vms": -1, "workstations": -1, "servers": -1 }, "isWanAccelerationEnabled": true, "wanAcceleratorUid": "4512013c-376b-47db-8837-286399790ca8" }
Response Code: 200 Success
Response Body: "Backup resources have been replaced." |