Consuming ../calendar_events API as_user_id returns empty array
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2020
08:05 AM
Hi,
I want to return the calendar events for a particular user. I created a token via the user settings of an Account Admin user. It is always returning a [] empty array.
This is the api call I am making with the Account Admin Bearer token.
https://xxxxxx.edu/api/v1/users/self/calendar_events?as_user_id=sis_user_id:1234
The example api call in the documentation below works.
https://canvas.instructure.com/doc/api/file.masquerading.html
Is there another permission required to get the calendar events as an "Administrator" user?
Thank you