Editing Object Storage by ID
You can edit the object storage settings.
|
If an object storage uses a self-signed SSL certificate, you must add this certificate to the trusted root of the server that runs Veeam Backup for Microsoft Office 365 REST API service. Otherwise, this method will not work. |
Request
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameter must be specified in the URL of the request:
Parameter | Type | Description |
---|---|---|
id | string | Specifies the identification number of the object storage. For more information on how to get this parameter, see Getting Object Storage Repositories. |
Request Body
The following table lists available request properties:
Property | Type | Description |
---|---|---|
name | string | An object storage name. |
description | string | An object storage description. |
sizeLimitEnabled | boolean | Specifies if the size limit is set. |
sizeLimitGB | integer | Specifies the size limit in GB. |
Request Example
Request: PUT https://<hostname>:4443/v5/ObjectStorageRepositories/5f469f02-0f5b-435e-801d-bd453492451b
Request Header: Authorization: Bearer <Access-Token>
Request Body: { "name": "S3 Compatible Object Storage (Edited through REST)", "description": "New description", "sizeLimitEnabled": true, "sizeLimitGB": "1024" } |
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns a response code 200 OK.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
---|---|
Content-length | The length of the response body. |
Content-type | The media type and syntax of the response body message: application/json; charset=utf-8 |
Response Body
None.