function zoomapi_api_update_user_settings in Zoom API 7.2
Update Zoom User settings.
1 call to zoomapi_api_update_user_settings()
- zoomapi_update_user_settings in ./
zoomapi.module - Update Zoom User settings.
File
- ./
zoomapi.api.inc, line 183 - API callbacks for Zoom API module.
Code
function zoomapi_api_update_user_settings($zoom_user_id, array $settings) {
try {
$zoom_client = zoomapi_client();
$settings = $zoom_client
->api('user')
->settings($zoom_user_id, $settings);
return $settings;
} catch (\Exception $e) {
watchdog(__FUNCTION__, 'Unable to update Zoom account settings for Zoom account @id. Error: @e', [
'@e' => $e
->getMessage(),
'@id' => $zoom_user_id,
], WATCHDOG_CRITICAL);
return [];
}
}