Hi Peter,
Thank you for your question. Are you receiving the status code 403? If so, this error could be related to the Brightspace permission to see enrollments.
Below is the documentation about the User Permissions where you can see more information about the "View User Enrollments" permission and others.
https://community.d2l.com/brightspace/kb/articles/4515-user-management-permissions
Thank you,
Tauany
I may be way off the mark here, but the "my" type API calls tend to be used for things like widgets and refer to the authenticating user's scope.
If you are using OAuth with a service type account then "my" enrolments might not make a lot of sense in that context and you need to use one of the other API routes where you can specify the user whose enrolments you want?
Connect with our Known and Fixed Issue information to learn about improvements made to Brightspace.
Connect with leaders in pedagogy, accessibility, learning experience design and more
The Accessibility category serves as a single point of access to three avenues in Brightspace Community leading to the Accessibility Academy, Accessibility Library and Accessibility Discussions. These avenues offer courses and articles about accessibility to enhance accessibility knowledge and a group of accessibility enthusiasts to stay connected with.
Have questions about how to use Community? Stay tuned with updates, feedback opportunities and more for the Community here!
Connect with and ask questions on how to best use the Brightspace Product to transform the way your users learn!
Connect with product experts to learn more about tools frequently used by Brightspace Developers such as APIs and integrations!
Want to learn more about Brightspace Partners and Integrations? This is the place to be!
Stay up to date with product updates and announcements in this category.
Connect with our release information to learn about monthly improvements and updates to Brightspace.
Learn more about all the upskilling opportunities with courses and resources offered via the Brightspace Learning Center, Brightspace Guided Training and other training opportunities!