The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
I receive 401-Unauthorized message when attempting to changing the value of SIS ID via API using Postman. However, I am able to successfully change (edit) any other fields such as email, name, etc when using the exact identical Postman configuration. I am an account ADMIN.
Can you tell me what I am doing wrong?
Below is my Postman Configuration:
URL: PUT https://OurServer.com/api/v1/users/48984
Headers:
Accept: application/json+canvas-string-ids
Content-Type: application/json
Authorization: Bearer 13468~4k5f646xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxh9N2rfYHgEID1c
Body:
{"user" : { "id" : "sis_user_id:f34be" } }
Or
{"user" : {"sis_user_id": "f34be" } }
*** Either REQUESTs are syntactically correct and work with other than sis_user_id fields.
Response:
{
"status": "unauthorized",
"errors": [
{
"message": "user not authorized to perform that action"
}
]
}
Solved! Go to Solution.
When you look at the documentation for the Edit a user endpoint of the Users API, the SIS user ID is not one of the parameters specified.
To modify the SIS user ID, you need to use the Edit a user login endpoint of the Logins API.
When you look at the documentation for the Edit a user endpoint of the Users API, the SIS user ID is not one of the parameters specified.
To modify the SIS user ID, you need to use the Edit a user login endpoint of the Logins API.
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in