Magidoc

deleteTimeItem
Mutation

Soft-deletes a Timesheet row owned by the calling user; other users' rows cannot be deleted through this mutation. Pass the TimeItem id (required at runtime despite the nullable schema typing).

For Project-level and Todo-level rows the soft delete applies to all of the caller's TimeItems for that same Project or Todo across every week, not only the row identified by id. Non-Project Activity rows are removed individually. Logged TimeEntries are not destroyed — the rows are hidden by setting deletedAt, and creating a row again for the same Todo and date via createTimeItem restores the original record. Returns the deleted TimeItem.

Arguments

#

id

Response

#

Returns TimeItem .

Example

#