Get Started
API backend
API system
More information

GET api/2.0/security/audit/settings/lifetime This function requires authentication

Description

Returns the audit trail settings.

Parameters

This method doesn't have any parameters.

Example
GET api/2.0/security/audit/settings/lifetime
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Audit settings

Example Response

application/json

{
  "status": 0,
  "response": {
    "LoginHistoryLifeTime": 1234,
    "AuditTrailLifeTime": 1234
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <LoginHistoryLifeTime>1234</LoginHistoryLifeTime>
    <AuditTrailLifeTime>1234</AuditTrailLifeTime>
  </response>
</result>