POST device access result ----------------------- +------------------------+--------------------------------------------------------------+------------------------------------------------------------------+ | Name | Type | Description | +========================+==============================================================+==================================================================+ | displayName | string | display name of the principal | +------------------------+--------------------------------------------------------------+------------------------------------------------------------------+ | error | :doc:`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 | +------------------------+--------------------------------------------------------------+------------------------------------------------------------------+