AnsweredAssumed Answered

Question about Rest API call, List Users in Accounts

Question asked by Wendy Lin on Feb 10, 2017
Latest reply on Apr 2, 2017 by chofer@morainepark.edu

I am new to Canvas development and I was hoping for some help with Rest API call. I was trying to get a list of the existing users from Canvas and the close API call I can find is the following. Any advice, suggestions will be most welcomed.

GET /api/v1/accounts/:account_id/users

 

I try to understand what is account ID? How can I find the account id?

 

In addition, when I make a Rest call, https://canvas.instructure.com/api/v1/accounts/self/users and specify the token in the header, got the error below,

{
"status": "unauthorized",
"errors": [
{
"message": "user not authorized to perform that action"
}
]
}

Outcomes