canvas-lmslti

How to enable external tool using API for course that was installed at account level


I've installed an LTI tool into my canvas-lms as at an account level, but I want to use the canvas data API to programatically enable/disable the tool in specific courses.

How do I enable the navigation placement for a tool defined at the account level for a specific course?


Solution

  • You would do this by managing the availability and the order of specific tabs within the course itself.

    Navigation order and hidden/visible can be edited using the Tabs API PUT method.

    You'll first need to get all of the tab ids, then identify which one is associated with the external tool, then use the API to either move or enable/disable them respectively.