Found this content helpful? Log in or sign up to leave a like!

Student use of API

Jump to solution
Nancy_Webb_CCSF
Community Champion

Is there any way to prevent students from using API?  Blocked only for those with a student role in a course.  

Thanks, it's doubtful but thought I would ask.

Labels (1)
0 Likes
1 Solution
chriscas
Community Coach
Community Coach

Hi @Nancy_Webb_CCSF,

I think the answer here is a big maybe, depending on exactly what you'd like to do...

The Admin Manage Access Tokens feature option was released last year and basically puts admins in control of generating user API tokens.  If you turn this on, the only users who could create tokens would be admins with the correct permissions.  We turned this on at my institution as we have very low "approved" use of API tokens vs the number of unwanted uses before this feature was available.  You could have something similar or very different from us, so this needs careful consideration.

Even with the above feature turned on, students (or any users really) will still technically be making API calls through developer keys.  The Canvas mobile apps are great examples of this as they make heavy use of the API to function.  Along the same lines, the web version of Canvas even makes use of API calls behind the curtains.  So with this in mind, you really can't totally shut off the API for anyone without basically breaking Canvas.

This is just a quick overview off the top of my head.  Let us know if this helps, if you have questions, would like more info, etc...

-Chris

View solution in original post