Consuming ../calendar_events API as_user_id returns empty array

sniedinger
Community Member

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

 

 

Labels (2)
0 Likes