Description
I am confused by the behaviour of master / sub accounts and the changing of hosts for a scheduled meeting.
The steps I have taken and tried:
- Create an admin (owner) account and link child accounts to it.
- Create a server to server app so I can authenticate my calls.
- Provided the server to server app with all necessary scopes.
- Child accounts have given my admin(owner) account scheduling permissions.
- All user’s involved are licensed
- I confirmed 100% that this works via the UI before I did the below (solution)
How I get to my problem:
- I create a meeting for one of my child accounts perfectly fine.
- If I patch the meeting without changing the schedule_for it also works fine.
- If i patch the meeting and try to change the meeting host via the schedule_for property I get an error "cannot schedule a meeting for user xxx@xxx.com
How I solved the problem:
I give all my users scheduling rights of each other, everything works 100% fine. This doesn’t really make sense to me and am confused if this is intended behaviour considering they part of a master/child account relationship.
The endpoints Im using
To get my auth token
https://zoom.us/oauth/token
To patch the meeting
https://api.zoom.us/v2/meetings/*meetingId*