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!
Believe that /v1/accounts/{account_id}/permissions only returns all the Course Roles (NOT the Account Roles)
How to use Canvas API to return all Account Roles?
Solved! Go to Solution.
Thank You Chris for a solution: First, return all Account Settings for a particular account (/accounts/{account_id}/settings) and then loop to filter out the ones that have "is_account_role":true
Hi @RobertLms,
Just for clarity here... Are you trying to get a list of all roles (Teacher, TA, Admin) available in a Canvas account, or are you trying to determine what permissions a specific user has available to them with their current roles? While these two things are related, they are completely different API calls, so it'll helpful to know which you need to do to give further explanation.
-Chris
Goal is to return all Account Roles listed in the UI (Account Roles tab) such as Analytics Hub
Also, What API to use to return a list of All Account Settings (in the UI) for a particular account?
Does one need to use pagination for accounts/{account_id}/settings?
implementation notes state: Returns a JSON object containing a subset of settings for the specified account.
How about a Provisioning Report? It'll return account roles assigned to each sub-account, but it'll come back in a CSV format.
Thank You Chris for a solution: First, return all Account Settings for a particular account (/accounts/{account_id}/settings) and then loop to filter out the ones that have "is_account_role":true
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