uw_canvas/external_tools.py
def _delete_external_tool(self, context, context_id, external_tool_id):
        """
        Delete the external tool identified by external_tool_id.

        context is either COURSES_API or ACCOUNTS_API.
        context_id is the course_id or account_id, depending on context

        https://canvas.instructure.com/doc/api/external_tools.html#method.external_tools.destroy
        """
        url = context.format(context_id) + "/external_tools/{}".format(
            external_tool_id)
        response = self._delete_resource(url)
        return True
def _delete_external_tool(self, context, context_id, external_tool_id):
        """
        Delete the external tool identified by external_tool_id.

        context is either COURSES_API or ACCOUNTS_API.
        context_id is the course_id or account_id, depending on context

        https://canvas.instructure.com/doc/api/external_tools.html#method.external_tools.destroy
        """
        url = context.format(context_id) + "/external_tools/{}".format(
            external_tool_id)
        response = self._delete_resource(url)
        return True
def _delete_external_tool ( self , context , context_id , external_tool_id ) : url = context . format ( context_id ) + "/external_tools/{}" . format ( external_tool_id ) response = self . _delete_resource ( url ) return True
Delete the external tool identified by external_tool_id.

        context is either COURSES_API or ACCOUNTS_API.
        context_id is the course_id or account_id, depending on context

        https://canvas.instructure.com/doc/api/external_tools.html#method.external_tools.destroy
Delete the external tool identified by external_tool_id .