# Update enforce\_login/meeting\_auth in the Occurrence ID

**URL:** <https://devforum.zoom.us/t/update-enforce-login-meeting-auth-in-the-occurrence-id/27068>\
**Category:** API and Webhooks\
**Created:** [August 13, 2020, 3:45pm UTC](https://devforum.zoom.us/t/update-enforce-login-meeting-auth-in-the-occurrence-id/27068 "2020-08-13T15:45:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![csotelo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/csotelo/32/10713_2.png) [@csotelo](https://devforum.zoom.us/u/csotelo)\
**Post date:** [August 13, 2020, 3:45pm UTC](https://devforum.zoom.us/t/update-enforce-login-meeting-auth-in-the-occurrence-id/27068/1 "2020-08-13T15:45:38Z")

</div>

**Description**  
I’ve tried to update an individual occurrence with this code:

> $response = $this-\>client-\>request(‘PATCH’, “/v2/meetings/{$meeting\_id}?occurrence\_id={$ocurrence\_id}”, [  
> “headers” =\> [  
> “Authorization” =\> “Bearer $accessToken”  
> ],  
> ‘json’ =\> [
> 
> ```
> "duration" => 45,
> "settings" => [
> "enforce_login" => true,
> "enforce_login_domains" => '*.sansilvestre.edu.pe',
> "meeting_authentication" => true,
> "authentication_name" => 'SanSilvestre',
> "authentication_domains" => '*.sansilvestre.edu.pe',
> 'authentication_option' => "XXXXXXXXXXXXXXXX",
> 
> ]
> ],
> ]);
> 
> return $response->getBody();
> 
> ```

With these parameters, works fine on meetings (type 2) and the complete recurrence (type 8) but not with an individual occurrence.

**Error**  
The change is not reflected in Zoom

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
PATCH /meetings/{meetingId}?occurrence\_id={occurrenceId}

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:  
2. See error

**Additional context**  
I’ve seen in the documentation that enforce\_login not appears in the support change. Exists any way in the API to update this setting parameter in the occurrence? If not, are you planning to add this feature?

 ![Screen Shot 2020-08-13 at 10.38.44 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/284d20f67be73a603bb1abcd358114bb11e83025.png)

Thank you

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 13, 2020, 7:24pm UTC](https://devforum.zoom.us/t/update-enforce-login-meeting-auth-in-the-occurrence-id/27068/2 "2020-08-13T19:24:47Z")

</div>

Hey @csotelo,

Can you share this and the full request url with the meetingID and the occurrenceID to [developersupport@zoom.us](mailto:developersupport@zoom.us) so we can debug it?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![csotelo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/csotelo/32/10713_2.png) [@csotelo](https://devforum.zoom.us/u/csotelo)\
**Post date:** [August 13, 2020, 8:54pm UTC](https://devforum.zoom.us/t/update-enforce-login-meeting-auth-in-the-occurrence-id/27068/3 "2020-08-13T20:54:39Z")

</div>

Shared to that email, but it shows:

 ![Screen Shot 2020-08-13 at 4.00.10 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/4f675cb6ef1d8c3360cb48333dfcf10c2bb9bb87.png)

Thank you

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 17, 2020, 11:40pm UTC](https://devforum.zoom.us/t/update-enforce-login-meeting-auth-in-the-occurrence-id/27068/4 "2020-08-17T23:40:12Z")

</div>

Hey @csotelo,

Strange, that is the correct email. Please try again: [developersupport@zoom.us](mailto:developersupport@zoom.us).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [September 17, 2020, 9:40am UTC](https://devforum.zoom.us/t/update-enforce-login-meeting-auth-in-the-occurrence-id/27068/5 "2020-09-17T09:40:14Z")

</div>

Closed on September 17, 2020, 9:40am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
