Sets the security settings to the module with the ID specified in the request.
Name | Description | Type | Example |
Id
sent in body
|
Module ID | string | some text |
Enabled
sent in body
|
Specifies if the module security settings are enabled or not | Bool value | true |
Subjects
sent in body
|
List of user/group IDs with the access to the module |
Collection of guids
collection
|
9924256A-739C-462b-AF15-E652A3B1B6EB |
Items
sent in body
|
Products with security information |
Collection of ASC.Api.Collections.ItemKeyValuePair{System.Strins
collection
|
PUT api/2.0/settings/security Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "Id": "some text", "Enabled": true, "Subjects": [ "9924256A-739C-462b-AF15-E652A3B1B6EB" ] }
Security settings
{ "status": 0, "response": [ { "WebItemId": "some text", "Enabled": true, "IsSubItem": true } ] }