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

Bulk delete users with no SIS ID

Hi there,

is there any way to bulk delete spambots?  They don't have SIS IDs which are required for the SIS upload CSV file. - see screenshot (this is not a real person so I felt OK sharing the email address)

megankoontz_0-1625596890971.png

We have over 1000 of these in our account and I'd really like to clean it up!

Thank you

 

Megan

 

0 Kudos
1 Reply
jerry_nguyen
Community Participant

@megankoontz 

You can use Canvas API to remove users. The process is as follow:

1. Use this endpoint GET /api/v1/accounts/1/users (Root account endpoint) with this parameter search_term to look up User's Canvas ID

2. Then use that User's ID with this endpoint DELETE /api/v1/accounts/:account_id/users/:user_id to remove user

If you are not familiar with using API, I create a spreadsheet where you can enter a list of email to remove users