POST api/2.0/settings/authservice This function requires authentication

Description

Saves the authorization keys.

Parameters
Name Description Type Example
Name
sent in body
Name System.String
Title
sent in body
Title System.String
Description
sent in body
Description System.String
Instruction
sent in body
Instruction System.String
CanSet
sent in body
Specifies if the authentication service can be set or not System.Boolean
Props
sent in body
List of authorization keys System.Collections.Generic.List{ASC.Web.Core.CookiesType.AuthKey}
Example
POST api/2.0/settings/authservice
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Name": "some text",
  "Title": "some text",
  "Description": "some text",
  "Instruction": "some text",
  "CanSet": true
}
Returns

Boolean value: true if the authorization keys are changed