Tyme icon

Tyme

Track time, manage projects and tasks in Tyme

Actions26

Timed Sub-Task → Delete

AI-generated

Summary

Deletes a timed sub-task in Tyme by its ID via a DELETE request to the Tyme API.

Inputs

  • Timed Sub-Task ID (required) — ID of the timed sub-task to delete. Sent to the API as a query parameter on DELETE /data/entity.

Output shape

One item per input item containing {"success": true} once the request completes without error.

The API response body is discarded, so no details of the deleted sub-task are returned. The source sends the ID as project_ids in the generic delete branch (the same one used for projects, categories and tasks). Timed sub-tasks have no dedicated branch like time entries and absences, which use time_ids. Check in a test run that the sub-task is actually removed. Errors stop the workflow unless Continue On Fail is enabled. In that case the item contains {"error": message}.

Examples

Example 1: Remove an obsolete sub-task found by an earlier Search step.

Resource: Timed Sub-Task, Operation: Delete, Timed Sub-Task ID: ={{ $json.id }}

Links

Discussion