cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
canvas_support6
Community Participant

The delete user API is throwing a 500 instead of 404

Jump to solution

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 Kudos
1 Solution

Accepted Solutions
canvas_support6
Community Participant

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

View solution in original post

0 Kudos
1 Reply
canvas_support6
Community Participant

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

View solution in original post

0 Kudos