REST API api/v1/accounts/unmsisimport - The specified resource does not exist

Jump to solution
Robert28
Community Member

Using POST api/v1/accounts/unmsisimport with API LIVE and response is 'The specified resource does not exist' (404 error).  Where to see account_id in Admin GUI?

0 Likes
1 Solution
robotcars
Community Champion

This should be visible when opening the Admin Tray, clicking on the Top Level Account for your instance (your school), or going to 'All Accounts' and viewing it there. It will be in the URL.

In the Browser's Developer Tools, ENV.ACCOUNT.id will return the ID, via the Javascript Console.

If you're a root admin, the first result should be found in /api/v1/accounts

Also note that if you're doing root level account api calls, 'self' can be replaced for the account_id.

https://canvas.instructure.com/doc/api/file.object_ids.html

  • Accounts support self to mean the root account for the current domain, default to mean the Default account, and site_admin to mean the Site Admin account.

View solution in original post