public async Task<IActionResult> SetAccessProfile(ChangeHardwareVaultProfileDto hardwareVaultProfileDto)
        {
            try
            {
                await _hardwareVaultService.ChangeVaultProfileAsync(hardwareVaultProfileDto.HardwareVaultId, hardwareVaultProfileDto.ProfileId);
                _remoteDeviceConnectionsService.StartUpdateHardwareVaultAccounts(hardwareVaultProfileDto.HardwareVaultId);
            }
            catch (Exception ex)
            {
                _logger.LogError(ex.Message);
                return StatusCode(500, new { error = ex.Message });
            }

            return NoContent();
        }