Permissions for orgstructure/{orgUnitId}/children/paged/

Jennifer.M.4854
Jennifer.M.4854 Posts: 2 New Community Member

Where is the documentation for what permissions are needed to call a specific API endpoint? There are 963 permissions. It is not reasonable to ask us to go through them all to try to guess which permissions are needed. I have searched for about an hour now, and I couldn't find anything

Specifically, I am trying to call the orgstructure/{orgUnitId}/children/paged/ endpoint (https://docs.valence.desire2learn.com/res/orgunit.html#get--d2l-api-lp-(version)-orgstructure-(orgUnitId)-children-paged-). It used to work until April 16, and now it is giving a not authorized response. We haven't changed anything about our user's permissions

Answers

  • Stephen.R.50
    Stephen.R.50 Posts: 129 image

    Hello @Jennifer.M.4854, thanks for your question and welcome to the Community!

    Generally, user permissions within Brightspace itself are tied to what actions a user will be able to perform. If no changes were made to permissions.

    Have you been able to verify that your API is still functioning, perhaps by making a simple call to see if it functions, or returns an error? For example, /d2l/api/versions/

    If that also returns the not authorized, I wonder if you need to re-authorize the application making the calls.

    If some calls are still working, I would suggest opening a case so our Support team can check for any errors and advise further.

    Hope this helps!

    ~Stephen