Tyme icon

Tyme

Track time, manage projects and tasks in Tyme

Actions26

Absence → Delete

AI-generated

Summary

Deletes an absence entry in Tyme by ID. It sends a DELETE request to the Tyme API and returns a simple success flag.

Inputs

  • Absence ID (required) — ID of the absence to delete. The node sends it to the Tyme API as the time_ids query parameter on DELETE /data/entity.

Output shape

One item per input item, with the JSON { "success": true }, paired to the input item.

The API response body is discarded, so no details of the deleted absence are returned. If the request fails, the node throws an error. With Continue On Fail enabled, it instead outputs { error: <message> } for that item. Requires the Tyme OAuth2 credential (tymeOAuth2Api).

Examples

Example 1: Remove an absence that was entered by mistake, using the ID returned by an earlier Create Absence step.

Resource: Absence, Operation: Delete, Absence ID: {{ $json.id }}

Example 2: Delete a specific absence by a known ID.

Resource: Absence, Operation: Delete, Absence ID: a fixed ID string

Links

Discussion