# Delete time spent **DELETE /data/time-spents/{instance_id}** Delete a time spent record by its ID. Returns empty response on success. Updates task duration automatically. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Jwt authorization ## Parameters ### Path parameters - **instance_id** (string(uuid)) ## Responses ### 204 Time spent record deleted successfully ### 400 Integrity error or cannot delete [Powered by Bump.sh](https://bump.sh)