Activity Feed
- Posted Re: Issue with Changing SIS ID via API Using Postman on Canvas Developers Group. 03-13-2023 07:33 AM
- Liked Re: Issue with Changing SIS ID via API Using Postman for James. 03-13-2023 07:33 AM
- Posted Issue with Changing SIS ID via API Using Postman on Canvas Developers Group. 12-15-2022 12:28 PM
- Posted Re: Is there an API call I'm missing to set the primary email for a user? on Canvas Developers Group. 12-15-2022 11:55 AM
My Posts
Post Details | Date Published | Views | Likes |
---|---|---|---|
Issue with Changing SIS ID via API Using Postman 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 wh... |
12-15-2022 |
382 |
0 |
03-13-2023
07:33 AM
Thank you very much James, Success!! URL: https://llcc.test.instructure.com/api/v1/accounts/1/logins/48625 Body: {"login":{"sis_user_id":"7e75f09e-6dc5-48d6-b8ff-082c4459f3a2"}}
... View more
12-15-2022
12:28 PM
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" } ] }
... View more
12-15-2022
11:55 AM
I am having the same issue with changing the value of SIS ID via API using Postman. However, when using the exact identical Postman configuration, I can change (edit) any other fields such as email, name, etc. 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 REQUEST Body's work. Response: { "status": "unauthorized", "errors": [ { "message": "user not authorized to perform that action" } ] }
... View more