Sets the selected user as an administrator of a product with the ID specified in the request.
Name | Description | Type | Example |
productid
sent in body
|
Product ID | guid | 9924256A-739C-462b-AF15-E652A3B1B6EB |
userid
sent in body
|
User ID | guid | 9924256A-739C-462b-AF15-E652A3B1B6EB |
administrator
sent in body
|
Specifies if a user will be a product administrator or not | Bool value | true |
PUT api/2.0/settings/security/administrator Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "productid": "9924256A-739C-462b-AF15-E652A3B1B6EB", "userid": "9924256A-739C-462b-AF15-E652A3B1B6EB", "administrator": true }
Object with the user security information