Delete Task

PUT https://api.freshbooks.com/accounting/account/{{accountId}}/projects/tasks/{{taskId}}

Request Body

{"task"=>{"vis_state"=>1}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"response":{"result":{"task":{"billable":true,"description":"Hourly rate for doing positive things","id":74830,"name":"Saving Earth","rate":{"amount":"1000.00","code":"USD"},"taskid":74830,"tax1":0,"tax2":0,"tdesc":"Hourly rate for doing positive things","tname":"Saving Earth","updated":"2019-04-24 14:39:45","vis_state":1}}}}