# Cannot update schedule\_for

**URL:** <https://devforum.zoom.us/t/cannot-update-schedule-for/69247>\
**Category:** API and Webhooks\
**Created:** [May 19, 2022, 1:32pm UTC](https://devforum.zoom.us/t/cannot-update-schedule-for/69247 "2022-05-19T13:32:29Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpavlov](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@dpavlov](https://devforum.zoom.us/u/dpavlov)\
**Post date:** [May 19, 2022, 1:32pm UTC](https://devforum.zoom.us/t/cannot-update-schedule-for/69247/1 "2022-05-19T13:32:29Z")

</div>

I’m getting error when try to update ‘schedule\_for’ for existing meeting. Error - {“code”:3000,“message”:“You cannot schedule a meeting for [user2@email.com](mailto:user2@email.com).”}

First, I create a meeting with payload:  
POST [https://api.zoom.us/v2/users/user1@email.com/meetings](https://api.zoom.us/v2/users/user1@email.com/meetings)  
{  
“topic”: “Topic for {useroneDisplayName}”,  
“type”: 2,  
“start\_time”: “{start:s}Z”,  
“timezone”: “UTC”,  
“password”: “password”,  
“duration”: {duration},  
“settings”: {  
“waiting\_room”: true,  
“approval\_type”: 2,  
“registrants\_email\_notification”: false,  
“registrants\_confirmation\_email”: false  
}  
}

Meeting was successfully created for user “[user1@email.com](mailto:user1@email.com)”.

Later, I’m updating this meeting:

PATCH [https://api.zoom.us/v2/meetings/{meetingId}](https://api.zoom.us/v2/meetings/%7BmeetingId%7D)  
{  
“schedule\_for” : “[user2@email.com](mailto:user2@email.com)”,  
“topic”: “Topic {usertwoDisplayName}”  
}

Request fails with error code {“code”:3000,“message”:“You cannot schedule a meeting for [user2@email.com](mailto:user2@email.com).”}

Both users: [user1@email.com](mailto:user1@email.com) and [user2@email.com](mailto:user2@email.com) are licensed users. Each can easily schedule a meeting.

Anything special should be done to update “schedule\_for” for the meeting?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 20, 2022, 6:33pm UTC](https://devforum.zoom.us/t/cannot-update-schedule-for/69247/2 "2022-05-20T18:33:23Z")

</div>

Hi @dpavlov

Can you please make sure that you have assigned Schedule Privileges to the users in order for you to be able to use the field “schedule\_for”

Learn more about that topic here:

> **[Scheduling privilege](https://support.zoom.us/hc/en-us/articles/201362803-Scheduling-privilege)**
>
> Scheduling privilege is designed for a user or an executive admin to:
> 
> Assign or delegate a user or multiple users in your account to schedule meetings on your behalf. 
> Schedule meetings on behalf ...

Best,  
Elisa

---

<div class="post-metadata">

**Author:** ![dpavlov](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@dpavlov](https://devforum.zoom.us/u/dpavlov)\
**Post date:** [May 26, 2022, 7:48pm UTC](https://devforum.zoom.us/t/cannot-update-schedule-for/69247/3 "2022-05-26T19:48:18Z")

</div>

Tried to research around this a little bit.

I could successfully add assistant (user2) to account of user1  
PATCH [https://api.zoom.us/v2/users/{user1@email.com}/assistants](https://api.zoom.us/v2/users/%7Buser1@email.com%7D/assistants) with payload:  
{  
“assistants”: [  
{  
“email”: “[user2@email.com](mailto:user2@email.com)”  
}  
]  
}

Call GET [https://api.zoom.us/v2/users/{user1@email.com}/assistants](https://api.zoom.us/v2/users/%7Buser1@email.com%7D/assistants) correctly shows  
{“assistants”:[{“[id":“b65d4XDvQXSzywWqm2pGBQ”,“email”:"user2@email.com](mailto:id%22:%22b65d4XDvQXSzywWqm2pGBQ%22,%22email%22:%22user2@email.com)”}]}

I’m trying to patch meeting again:

PATCH [[https://api.zoom.us/v2/meetings/{meetingId}](https://api.zoom.us/v2/meetings/%7BmeetingId%7D)]  
{  
“schedule\_for” : “user2@email.com”,  
“topic”: “Topic for {usertwoDisplayName}”  
}

Request fails with error code {“code”:3000,“message”:“You cannot schedule a meeting for [user2@email.com].”}

Anything else should be set to update schedule\_for property?

Thank you!

---

<div class="post-metadata">

**Author:** ![dpavlov](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@dpavlov](https://devforum.zoom.us/u/dpavlov)\
**Post date:** [May 26, 2022, 9:32pm UTC](https://devforum.zoom.us/t/cannot-update-schedule-for/69247/4 "2022-05-26T21:32:46Z")

</div>

I think I had to call other way around:

PATCH [https://api.zoom.us/v2/users/{user2@email.com}/assistants](https://api.zoom.us/v2/users/%7Buser2@email.com%7D/assistants) with payload:  
{  
“assistants”: [  
{  
“email”: “user1@email.com”  
}  
]  
}

Now it seems to work fine: topic and start\_url have been updated, meeting starts from user2 name.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 27, 2022, 2:08pm UTC](https://devforum.zoom.us/t/cannot-update-schedule-for/69247/5 "2022-05-27T14:08:26Z")

</div>

Hey @dpavlov  
Happy to hear you got a workaround via API!  
I also would encourage you to take a look a this guide, to allow scheduling privileges to users in your account

> **[Scheduling privilege](https://support.zoom.us/hc/en-us/articles/201362803-Scheduling-privilege)**
>
> Scheduling privilege is designed for a user or an executive admin to:
> 
> Assign or delegate a user or multiple users in your account to schedule meetings on your behalf. 
> Schedule meetings on behalf ...

Thanks!  
Elisa

---

<div class="post-metadata">

**Author:** ![dpavlov](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@dpavlov](https://devforum.zoom.us/u/dpavlov)\
**Post date:** [May 27, 2022, 3:41pm UTC](https://devforum.zoom.us/t/cannot-update-schedule-for/69247/6 "2022-05-27T15:41:24Z")

</div>

We programmatically create/remove/manage users. It would be not ideal to go to Zoom Portal and assign privileges manually. I read your link and it helped a lot to understand root cause of our issues and find needed API to assign assistants. Thanks again!

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 27, 2022, 7:42pm UTC](https://devforum.zoom.us/t/cannot-update-schedule-for/69247/7 "2022-05-27T19:42:20Z")

</div>

Of course! @dpavlov happy to help 🙂

---

<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:** [June 27, 2022, 5:42am UTC](https://devforum.zoom.us/t/cannot-update-schedule-for/69247/8 "2022-06-27T05:42:21Z")

</div>

Closed on June 27, 2022, 5:42am UTC

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