Update user setting Response returned empty using php & laravel

Description
Update user setting Response returned empty.

Error
empty error

app type OAuth

$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => “https://api.zoom.us/v2/users/JXppkRS9Q6GHfZhSHV6ajA/settings”,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => “”,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => “PATCH”,
CURLOPT_POSTFIELDS => “{“recording”:{“local_recording”:false,“cloud_recording”:true,“record_speaker_view”:true,“record_gallery_view”:true,“record_audio_file”:true,“save_chat_text”:true,“show_timestamp”:false,“recording_audio_transcript”:false,“auto_recording”:“cloud”,“auto_delete_cmr”:false}}”,
CURLOPT_HTTPHEADER => array(
"authorization: Bearer " . env(‘ZOOM’),
“content-type: application/json”
),
));


        $response = curl_exec($curl);
        $err = curl_error($curl);

        curl_close($curl);

        if ($err) {
         "cURL Error #:" . $err;
          echo $err;
        } else {
         dd($response);
        }

Hi @dash.rock.dash this is expected. A successful response (204) to this API returns an empty (updated) resource.

i know A successful response (204) but use not updated and user setting not updated when i use get user setting but response successful but not updated

Hey @dash.rock.dash,

I noticed this is a duplicate post, I will reply to you here:

Thanks,
Tommy