Hi @desautelsj so this is definitely a bug with the granular scope (ZOOM-940063). Release date for fix not shared yet. Thanks for following up on this!
I’m baffled by the fact that you were not able reproduce in your testing though. Any insight why you didn’t get the error while @thomas.leguen and I did?
I have been monitoring the changelog and I haven’t seen any mention of changes related to deleting room locations but, out of curiosity, I attempted to delete a location and I am now getting a different result:
REQUEST:
DELETE https://api.zoom.us/v2/rooms/locations/m8zgreeDSre0gppeSgIppg
RESPONSE:
HTTP/1.1 400 Bad Request
{"code":200,"message":"Access restricted."}
I think I figured it out. There was a room associated with the location I was attempting to delete. I manually deleted the room and ran my “delete a location” API test again: it completed successfully.
So, this latest problem was simply a misleading error message: the problem had noting to do with permissions, scopes, access being denied or anything like that. It would have been helpful if the message was more explicit. Something along the lines of You can not delete this location because a room is associated with it.
Long story short: the issue with the “delete location” API end point seems to have been fixed. It’s weird that this fix wasn’t mentioned in the Zoom Developer Changelog.