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

Description

Updates the cookies lifetime value in minutes.

Parameters
Name Description Type Example
LifeTime
sent in body
Lifetime value in minutes number 1234
Enabled
sent in body
Specifies if the cookie settings are enabled or not Bool value true
Example
PUT api/2.0/settings/cookiesettings
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "LifeTime": 1234,
  "Enabled": true
}
Returns

Message about the result of saving new settings