# Delete task **DELETE /data/tasks/{instance_id}** Delete a task by its ID. Returns empty response on success. May require force flag if task has associated data. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Jwt authorization ## Parameters #### Path parameters - **instance_id** (string(uuid)) #### Query parameters - **force** (boolean) Force deletion even if task has associated data ## Responses ### 204: Task deleted successfully ### 400: Integrity error or cannot delete [Powered by Bump.sh](https://bump.sh)