Get Started
Usage API
More information

PUT api/2.0/settings/storage This function requires authentication

Description

Updates a storage with the parameters specified in the request.

Parameters
Name Description Type Example
module
sent in body
Storage name string some text
props
sent in body
New storage properties Dictionary(key:string, value:string)
collection
[{"Key": "some text","Value": "some text"}]
Example
PUT api/2.0/settings/storage
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "module": "some text",
  "props": [
    {
      "Key": "some text",
      "Value": "some text"
    }
  ]
}
Returns

Updated storage

Example Response

application/json

{
  "status": 0,
  "response": {
    "Module": "Module",
    "Props": [
      "Props"
    ]
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Module>Module</Module>
    <Props>Props</Props>
  </response>
</result>