We are trying to build a widget that uses an API call to display certain information based on...
Mitch.E.221
Posts: 4 🌱
We are trying to build a widget that uses an API call to display certain information based on the term name that is part of the course name. Instructor or student roles get a 403 error when the widget runs. How can we get those roles acccess?
We are using this call: GET /d2l/api/lp/1.9/orgstructure/{orgUnitId}
Is there a way to get those roles access? There is nothing about restricted access to this information in the API documentation.
Tagged:
Answers
-
Hi Mitch,
'orgStructure' routes require the person to have some level of access to the 'Org Unit Editor' tool. That probably isn't something you want to grant, so I'd recommend using a different route such as:
-
Thank you. This was very helpful!