Account Id generation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Team,
Username: manoj_bhosale1@persistent.com
we are getting account_id as 102396 by heating this endpoint "https://canvas.instructure.com/api/v1/courses"
we are trying the same id to access the "Users" object but getting below error.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ManojBhosale,
You can use the accounts endpoint to list accounts you have access to. Alternatively, as shown in the example of the users call, you may be able to use the "self" identifier for the accound_id. You can also just look at the URL of your admin pages in the UI and see the ID listed there.
One thing to confirm though is whether you're actually an admin or not, as it's not quite clear in your post. Many API calls will only work for users who are Canvas admins.
-Chris