(self, firstname, lastname, email, devices={}, admin=False)
return self.request.post(f'https://{self.BASE_URL}/hmsweb/users/friends', {"adminUser":admin,"firstName":firstname,"lastName":lastname,"email":email,"devices":devices})
This API will send an email to a user and if they accept, will give them access to the devices you specify.
        NOTE: XXX-XXXXXXX_XXXXXXXXXXXX is the uniqueId field in your device object.

        {adminUser:false,firstName:John,lastName:Doe,email:john.doe@example.com,devices:{XXX-XXXXXXX_XXXXXXXXXXXX:Camera1,XXX-XXXXXXX_XXXXXXXXXXXX:Camera2}}
This API will send an email to a user and if they accept, will give them access to the devices you specify.
        NOTE: XXX-XXXXXXX_XXXXXXXXXXXX is the uniqueId field in your device object.
This API will send an email to a user and if they accept will give them access to the devices you specify . NOTE : XXX - XXXXXXX_XXXXXXXXXXXX is the uniqueId field in your device object .
def AddFriend(self, firstname, lastname, email, devices={}, admin=False):
        """
        This API will send an email to a user and if they accept, will give them access to the devices you specify.
        NOTE: XXX-XXXXXXX_XXXXXXXXXXXX is the uniqueId field in your device object.

        {adminUser:false,firstName:John,lastName:Doe,email:john.doe@example.com,devices:{XXX-XXXXXXX_XXXXXXXXXXXX:Camera1,XXX-XXXXXXX_XXXXXXXXXXXX:Camera2}}
        """
        return self.request.post(f'https://{self.BASE_URL}/hmsweb/users/friends', {"adminUser":admin,"firstName":firstname,"lastName":lastname,"email":email,"devices":devices})
def AddFriend ( self , firstname , lastname , email , devices = { } , admin = False ) : return self . request . post ( f'https://{self.BASE_URL}/hmsweb/users/friends' , { "adminUser" : admin , "firstName" : firstname , "lastName" : lastname , "email" : email , "devices" : devices } )