Is it possible to delete an user using Canvas API?

Jump to solution
Community Novice

Hello people,

I'm building a tool to clean inactive users from institution, but unfortunately, there is no API endpoint to delete an entire user.

Ok then, so I've used de Logins API to delete each login from each user until I got a message saying that the users must have at least one login.

Well, I'm stucked. Is it only possible to delete an user by clicking "Delete from Institution" at the users details page?

Hope someone can help.


Labels (1)
1 Solution

Thanks for the solution!

I've thought about this solution already but I've found what I wanted.

I've mailed Canvas Support Team here in Brazil and they've just replied how it is possible to do with the Accounts API:

I think Canvas documentation should move this endpoint to Users API, not Accounts.

Thank you all, by the way!


View solution in original post