Actions57
- Course Actions
- User Actions
- Assignment Actions
- Module Actions
- Page Actions
- Discussion Actions
- File Actions
- Announcement Actions
- Quiz Actions
- Submission Actions
- Enrollment Actions
- Group Actions
- Rubric Actions
Overview
This node integrates with the Canvas LMS API to manage quizzes within courses. Specifically, the Delete Quiz operation allows users to remove a quiz from a specified course by providing the course ID and the quiz ID. This is useful in scenarios where quizzes are no longer needed or were created by mistake and need to be cleaned up.
Practical examples:
- An instructor wants to delete an outdated quiz from their course.
- An administrator automates cleanup of quizzes after a semester ends.
- A workflow removes quizzes as part of course archival or restructuring.
Properties
Name | Meaning |
---|---|
Course ID | The unique identifier of the course containing the quiz to delete. |
Quiz ID | The unique identifier of the quiz to be deleted within the specified course. |
Output
The output JSON contains a data
field which holds the response from the Canvas API after attempting to delete the quiz. Typically, for a delete operation, this may be an empty object or confirmation details depending on the API's response.
Example output structure:
{
"data": { }
}
No binary data is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Canvas LMS API.
- The node must be configured with the base URL of the Canvas instance and a valid access token.
- Network connectivity to the Canvas LMS API endpoint is necessary.
Troubleshooting
Error: Invalid Course ID or Quiz ID
Ensure that the provided Course ID and Quiz ID are correct and exist in the Canvas system.Error: Unauthorized / Authentication Failed
Verify that the API key credential is valid and has sufficient permissions to delete quizzes.Error: Quiz Cannot Be Deleted
Some quizzes might be locked or have restrictions preventing deletion. Check Canvas LMS settings or quiz status.Network Errors
Confirm network connectivity and that the Canvas API endpoint is reachable.
If the node is set to continue on failure, errors will be returned in the output JSON under an error
field for each failed item.