GET api/2.0/security/impersonate/{userId} This function requires authentication

Description

Checks if a user with the ID specified in the request can be impersonated or not.

Parameters
Name Description Type Example
userId
sent in url
User ID guid 9924256A-739C-462b-AF15-E652A3B1B6EB
Example
GET api/2.0/security/impersonate/{userid}
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "userId": "9924256A-739C-462b-AF15-E652A3B1B6EB"
}
Returns

Boolean value: true - the user can be impersonated, false - the user cannot be impersonated