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 video resources within an educational platform. Specifically, the Video - Delete operation allows users to delete a video and its associated files from the Lectful system by specifying the video ID.
This operation is useful in scenarios where outdated or incorrect videos need to be removed from courses or lectures to maintain content accuracy and relevance. For example, an instructor might delete a video that has been replaced with an updated version or remove videos that are no longer part of the 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) |
| Base URL Override | Optional base URL to override the credential setting (used only if Manual Configuration is selected). Do not include /api/v1. |
| API Key Override | Optional API key to override the credential setting (used only if Manual Configuration is selected). |
| Video ID | The unique identifier of the video to delete. This property is required for the delete operation. |
Output
The output of the delete operation is a JSON object representing the API response after attempting to delete the specified video. Typically, this will confirm successful deletion or provide error details if the operation failed.
No binary data is output by this operation.
Example output JSON structure:
{
"status": "success",
"message": "Video deleted successfully",
"videoId": "12345"
}
or in case of failure:
{
"error": "Video not found or already deleted"
}
Dependencies
- Requires access to the Lectful API.
- Requires either stored credentials configured in n8n or manual entry of the Lectful API base URL and API key.
- The API key must have sufficient permissions to delete videos.
- No additional external dependencies beyond HTTP requests to the Lectful API.
Troubleshooting
- Missing or invalid credentials: If neither stored credentials nor manual configuration with valid base URL and API key are provided, the node will throw an error indicating missing or invalid credentials.
- Invalid Video ID: Providing a non-existent or incorrect video ID will result in an API error, typically indicating that the video was not found.
- Permission errors: If the API key lacks permission to delete videos, the API will return an authorization error.
- Base URL format: When using manual configuration, ensure the base URL does not include
/api/v1as it is appended automatically. - Network issues: Connectivity problems to the Lectful API endpoint will cause request failures.
To resolve these issues:
- Verify credentials and API key permissions.
- Confirm the video ID is correct.
- Check network connectivity.
- Use the correct base URL format.
Links and References
- Lectful API Documentation (Assumed URL; replace with actual if known)
- n8n documentation on HTTP Request Node for understanding API calls.
- General best practices for API authentication and error handling in n8n workflows.