Editing Object Storage by ID
This section explains how to edit object storage settings.
Request
PUT https://<hostname>:4443/v5/ObjectStorageRepositories/{id} |
Request Headers
The request header must contain an authorization token of the current session.
Request Parameters
The following parameters must be posted as URL.
Parameter | Type | Description |
---|---|---|
id | string | An identification number of object storage that you want to edit. |
Request Body
Property | Type | Description |
---|---|---|
Name | string | An object storage name. |
Description | string | On object storage description. |
SizeLimitEnabled | boolean | Specifies if the size limit is set. |
SizeLimitGB | int | 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>
{ "Name": "Azure Object Storage (Edited via REST)", "Description": "New description", "SizeLimitEnable": true, "SizeLimitGB": 15 } |
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.