Get Started
Usage API
More information

PUT api/2.0/settings/security/administrator This function requires authentication

Description

Sets the selected user as an administrator of a product with the ID specified in the request.

Parameters
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 the user will be added to the product as an administrator or deleted from it Bool value true
Example
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
}
Returns

Object with user security information