View
 

LiveWork API Method: tasks destroy

<< Back to FrontPage

 


 

LiveWork API Method: tasks/destroy

Deletes an existing task.

 

Request

 

HTTP Method:

DELETE

 

URL:

http://www.livework.com/api/v1/tasks/<id>.<format>

 

Formats:

xml

 

Parameters:

Parameter Status Format Default Description
id Required integer nil The ID of the task to delete.
format Optional string xml The format of the response.

 

Note

 

Destroying a task that is currently being worked on, is completed (but not rejected), or that has been marked as "unanswerable" is not allowed and a 403 status code will be returned.

 

Response

 

<?xml version="1.0" encoding="UTF-8"?>

<task>

     <id type="integer">1</id>

     <value type="decimal">10.0</value>

     <user-id type="integer">1</user-id>

</task>

 


 

<< Back to FrontPage

Comments (0)

You don't have permission to comment on this page.