Sets the selected user as a product administrator with the ID specified in the request.
Name | Description | Type | Example |
ProductId
sent in body
|
Product ID | System.Guid | |
UserId
sent in body
|
User ID | System.Guid | |
Administrator
sent in body
|
Administrator or not | System.Boolean |
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: product ID, user ID, administrator or not