Tyme icon

Tyme

Track time, manage projects and tasks in Tyme

Actions26

Project Category → Delete

AI-generated

Summary

Deletes a Tyme project category by ID. It sends a DELETE request to the Tyme API and returns a fixed success flag.

Inputs

  • Category ID (required) — ID of the project category to delete. It is sent to the API as the project_ids query parameter on DELETE /data/entity.

Output shape

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

The API response body is discarded, so the output does not include the deleted category's data. If the request fails, the node throws an API error. With Continue On Fail enabled, it outputs { error: <message> } for that item instead. Each output item is paired to its input item. The source does not show what happens to projects inside the category, so check the Tyme API for that. Requires the tymeOAuth2Api credential.

Examples

Example 1: Remove a category that is no longer used, using an ID found by a Search operation.

Resource: Project Category, Operation: Delete, Category ID: ={{ $json.id }}

Example 2: Delete a category with a known fixed ID.

Resource: Project Category, Operation: Delete, Category ID: the literal ID string

Links

Discussion