Actions88
- Blog Actions
- Get All Posts (Admin)
- Get Post (Admin)
- Create Post (Admin)
- Update Post (Admin)
- Delete Post (Admin)
- Get Categories (Admin)
- Get Category (Admin)
- Create Category (Admin)
- Update Category (Admin)
- Delete Category (Admin)
- Get Tags (Admin)
- Get Tag (Admin)
- Create Tag (Admin)
- Update Tag (Admin)
- Delete Tag (Admin)
- Get Authors (Admin)
- Get All Posts (Public)
- Get Post (Public)
- Get Categories (Public)
- Get Tags (Public)
- Get Posts by Category (Public)
- Get Posts by Tag (Public)
- Section Actions
- AI Resource Actions
- Authentication Actions
- User Actions
- Course Actions
- Lecture Actions
- Enrollment Actions
- Learning Path Actions
- Assignment Actions
- Progress Actions
- Video Actions
- Article Actions
- Quiz Question Actions
- Quiz Choice Actions
- Quiz Submission Actions
- Image Actions
Overview
This node integrates with the Lectful API to manage quiz questions within an educational platform. Specifically, the Delete operation for the Quiz Question resource allows users to remove a quiz question by its unique identifier.
Typical use cases include:
- Automating cleanup of outdated or incorrect quiz questions.
- Managing quiz content dynamically as courses evolve.
- Integrating quiz management into broader workflows that maintain course quality.
For example, an educator might use this node to delete a quiz question that is no longer relevant after updating a course curriculum.
Properties
| Name | Meaning |
|---|---|
| Authentication Mode | Choose how to authenticate with the Lectful API: - Use Stored Credentials - Manual Configuration (provide base URL and API key manually) |
| Credentials Note | Informational note shown when using Manual Configuration mode about credential usage. |
| Base URL Override | Optional base URL to override the stored credential's base URL (exclude /api/v1). |
| API Key Override | Optional API key to override the stored credential's API key. |
| Question ID | The unique identifier of the quiz question to delete (required). |
Output
The node outputs a JSON object representing the API response from the delete request. Typically, this will be either:
- A confirmation of successful deletion (often an empty object or a status message).
- An error message if the deletion failed.
No binary data output is produced by this operation.
Example output JSON might look like:
{}
or in case of error:
{
"error": "Question not found"
}
Dependencies
- Requires access to the Lectful API.
- Requires either stored credentials configured in n8n or manual entry of the base URL and API key.
- The API key must have sufficient permissions to delete quiz questions.
Troubleshooting
Missing or invalid credentials:
Error: "Valid credentials are required..."
Solution: Ensure you have configured valid API credentials or provide correct manual configuration parameters.Missing Question ID:
The operation requires aQuestion ID. Omitting it will cause an error.API errors such as "Question not found":
This indicates the provided Question ID does not exist or has already been deleted. Verify the ID is correct.Network or connectivity issues:
Check your network connection and ensure the Lectful API endpoint is reachable.
Links and References
- Lectful API Documentation (Assumed URL; replace with actual if known)
- n8n Documentation on Creating Custom Nodes
- General REST API best practices for DELETE operations
If you need details on other operations or resources, feel free to ask!