update_time_block
Modify an existing time block's date, start/end times, memo, or task assignment without recreating it.
Instructions
Change an already-recorded time block: its date, start/end times, memo, or the task it counts towards. Get block_id from list_time_blocks. Only the fields you pass change. Tell the user what the block currently says and what it will say before calling this. Requires the blocks:write scope; changing a memo on an end-to-end-encrypted project also needs PYUNTO_TM_PASSWORD, and project_id so the memo is encrypted under the right key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | "HH:MM" (24h) or minutes past midnight. | |
| date | No | YYYY-MM-DD. | |
| memo | No | Replaces the memo. Needs project_id. | |
| start | No | "HH:MM" (24h) or minutes past midnight. | |
| task_id | No | Task to attribute the time to; 0 detaches it. | |
| block_id | Yes | From list_time_blocks. | |
| project_id | No | The block's project, from list_time_blocks. Required with memo. |