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

API - Update a sis_user_id for a user

Jump to solution

I have a user for which I'm attempting to update the SIS ID. Initially, I tried to do this through the web, but I'm getting the following message:

342569_pastedImage_1.png

However, when I search on this SIS ID, nothing is returned. That said, I am certain that this SIS ID was once assigned to the user in question, but was subsequently removed.

Enter the API.

I'm looking for help constructing a curl (GET) statement that will return the user to which Canvas thinks is already associated with this SIS ID. Then I would like to construct a curl (PUT) statement to re-attach the sis_user_id.

TIA!

Labels (1)
Tags (1)
1 Solution
raj_veeravalli
Community Participant

Might be worth running a provisioning report that includes deleted objects to see if the sis_user_id exists in your database

View solution in original post

4 Replies
swaldie
Community Participant

I'm able to successfully execute a GET on this same user, which is myself. However, a large error message - which I don't understand yet, is returned when I attempt to update the bio. Postman has this to say about it:

342638_pastedImage_2.png

Is there something wrong with the way this statement is constructed?

342634_pastedImage_1.png

0 Kudos
raj_veeravalli
Community Participant

Might be worth running a provisioning report that includes deleted objects to see if the sis_user_id exists in your database

No might about it, Raj. That's exactly what I needed, and it informed me that there is another user object for this person that was deleted.

Thank you!

My pleasure, glad to hear it worked mate!

0 Kudos