Device access copy result ----------------------- +------------------------+--------------------------------------------------------------+------------------------------------------------------------------+ | Name | Type | Description | +========================+==============================================================+==================================================================+ | principals | array | list of results for each principal | +------------------------+--------------------------------------------------------------+------------------------------------------------------------------+ **Principal copy result** +------------------------+--------------------------------------------------------------+------------------------------------------------------------------+ | Name | Type | Description | +========================+==============================================================+==================================================================+ | displayName | string | display name of the principal | +------------------------+--------------------------------------------------------------+------------------------------------------------------------------+ | error | validation-error (optional) | error details if operation failed | +------------------------+--------------------------------------------------------------+------------------------------------------------------------------+ | id | UUID | device access id | +------------------------+--------------------------------------------------------------+------------------------------------------------------------------+ | principalId | UUID | principal (user or group) UID that device access is granted for | +------------------------+--------------------------------------------------------------+------------------------------------------------------------------+ | principalType | number | 0 = User, 1 = UserGroup | +------------------------+--------------------------------------------------------------+------------------------------------------------------------------+ | success | boolean | operation success status | +------------------------+--------------------------------------------------------------+------------------------------------------------------------------+ | userEmail | string | user email that device access is granted for | +------------------------+--------------------------------------------------------------+------------------------------------------------------------------+