0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions132

Scheduler → Delete Scheduled Task

AI-generated

Overview

The node provides a utility to manage scheduled tasks via an API. Specifically, the "Delete Scheduled Task" operation allows users to remove a previously created scheduled task by specifying its unique identifier. This is useful in automation workflows where scheduled jobs need to be dynamically managed, such as canceling reminders, stopping periodic data fetches, or removing obsolete background processes.

Practical examples:

  • Cancel a scheduled email notification that is no longer needed.
  • Remove a recurring data backup job after a certain condition is met.
  • Delete a scheduled report generation task when the report is deprecated.

Properties

Name Meaning
Task ID Unique identifier of the task to delete. Example format: task-123-abc-456

Output

The node sends a request to delete the specified scheduled task and outputs the response from the API in the json field of the output data. The structure of this JSON depends on the API's response but typically includes confirmation of deletion or error details if the task could not be deleted.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authentication with the external scheduling service.
  • The node makes a POST HTTP request to the endpoint /operator/scheduler/del on the base URL https://prod.0codekit.com.
  • Proper network connectivity and valid credentials are necessary for successful execution.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Task ID will likely result in an error response indicating the task was not found.
    • Missing or incorrect API credentials will cause authentication failures.
    • Network issues or incorrect base URL configuration can prevent the request from reaching the server.
  • Error messages and resolutions:

    • "Task not found": Verify the Task ID is correct and the task exists.
    • "Authentication failed": Check that the API key credential is correctly configured and has proper permissions.
    • Timeout or network errors: Ensure stable internet connection and that the API endpoint is reachable.

Links and References

  • No direct links available from the source code. For more information, consult the documentation of the external scheduling API at https://prod.0codekit.com or the platform providing the API key.

Discussion