The delete user API is throwing a 500 instead of 404

Jump to solution
canvas_support6
Community Explorer

Hi All,

     I am in the process of replacing the role on one of our service accounts. The account will move from "Account Admin" to a custom account that allows all the same API calls with the same responses. I have resolved most of the issues, but when I call "DELETE /accounts/1/users/{userid}" for a missing user I get a 500 when the full access account returns a 404. I have been adding permissions to work around this but have not identified the correct permission.

I have granted the following permissions:

Account-level settings - manage
Grades - view all grades
Users - Designers
Users - Observers
Users - Students
Users - TAs
Users - Teachers
Users - manage login details
Users - manage students in courses
Users - view list
Users - view login IDs
Users - view primary email address

Does anyone else know what other permissions the role needs?

Thanks,
Simon

0 Likes
1 Solution
canvas_support6
Community Explorer
Author

Adding the Admins - add / remove permission changed the response from 500 to 404.

View solution in original post

0 Likes