Activity Feed
- Kudoed How can I get started building an LTI external application? for 73396fae490e357. 12-01-2021 01:01 AM
- Kudoed Re: How can I get started building an LTI external application? for garth. 12-01-2021 01:01 AM
- Got a Kudo for Batch delete users added from api. 10-13-2021 11:45 AM
- Kudoed Re: Can you get a users email address from the list users API call? for MattHanes. 10-08-2021 01:31 AM
- Posted Batch delete users added from api on Canvas Admin Discussion. 10-01-2021 02:10 AM
- Posted Re: Bad request when posting user against rest api on Canvas Question Forum. 09-30-2021 06:48 AM
- Posted Bad request when posting user against rest api on Canvas Developers Group. 09-30-2021 04:12 AM
- Posted Bad request when posting user against rest api on Canvas Question Forum. 09-30-2021 02:37 AM
My Posts
Post Details | Date Published | Views | Kudos |
---|---|---|---|
Batch delete users added from api Hi all, From my research I gather that one can only delete users using the SIS Import if they were added using the SIS Import. We import our users via the rest api. Is there a way to ... |
10-01-2021 |
399 |
1 |
Bad request when posting user against rest api Hello dev people! I made a post in the regular community, but maybe it belong here? Here's a link to the post: https://community.canvaslms.com/t5/Canvas-Question-Forum/Bad-request-when-p... |
09-30-2021 |
371 |
0 |
Bad request when posting user against rest api Dear Community, I'm trying to create a user with Canvas rest api. Here's the json I'm posting: { "user":{ "Name":"Foo ... |
09-30-2021 |
695 |
0 |
10-01-2021
02:10 AM
1 Kudo
Hi all,
From my research I gather that one can only delete users using the SIS Import if they were added using the SIS Import.
We import our users via the rest api. Is there a way to batch delete users that have been added this way (or added manually).
Thanks!
... View more
09-30-2021
06:48 AM
Thanks @dtod for your reply!
I managed to figure out what was wrong. `Unique_id` needs to be in lowercase. Since I pass `Unique_Id` I guess Canvas gott `null` and went "well, this ID is way to short!"
So all is well, for now.
... View more
09-30-2021
04:12 AM
Hello dev people!
I made a post in the regular community, but maybe it belong here? Here's a link to the post: https://community.canvaslms.com/t5/Canvas-Question-Forum/Bad-request-when-posting-user-against-rest-api/m-p/488499#M161621
Regards!
... View more
09-30-2021
02:37 AM
Dear Community,
I'm trying to create a user with Canvas rest api. Here's the json I'm posting:
{
"user":{
"Name":"Foo bar"
},
"pseudonym":{
"Unique_id":"foobar@mailinator.com"
}
}
And here's the response from Canvas:
{
"errors": {
"user": {
"pseudonyms": [
{
"attribute": "pseudonyms",
"type": "invalid",
"message": "invalid"
}
]
},
"pseudonym": {
"unique_id": [
{
"attribute": "unique_id",
"type": "invalid",
"message": "invalid"
},
{
"attribute": "unique_id",
"type": "too_short",
"message": "too_short"
}
]
},
"observee": {},
"pairing_code": {},
"recaptcha": null
}
}
I've tried a lot of different syntaxes but with the same result. Please help.
... View more
Labels
- Labels:
-
Canvas