API endpoint permissions for /courses

Jump to solution
themidiman
Community Champion

Unless I've not read the docs correctly, shouldn't an instructor API token be able to use the GET /v1/courses/{id} endpoint to see information about a single course for which they are enrolled as the instructor? I'm getting "status":"unauthorized" using the live api. 

If not I'm having a hard time finding in the permissions matrix where this can be rectified.

0 Likes
1 Solution
themidiman
Community Champion
Author

Thanks  @maguire ,


That was the issue. My instructor role was not in the actual course section because it was crosslisted into a different course. I was thinking the role carried over to both sections by virtue of cross-listing the child course into the parent course.

View solution in original post

0 Likes