HTTP Verb: DELETE

Available statuses: 200 OK, 404 Not Found

Object: Task

Location: n/a

Formats: XML, JSON

Delete a task.

Params

No params available

Examples

Request XML, using cURL utility:

curl -i -X DELETE -H "Authorization: Bearer _token" https://api.assembla.com/v1/tasks/_id.xml

Response:

HTTP/1.1 200 OK
Server: nginx/0.8.55
Date: Fri, 07 Sep 2012 13:08:42 GMT
Content-Type: application/xml; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Status: 200
...

Request JSON, using cURL utility:

curl -i -X DELETE -H "Authorization: Bearer _token" https://api.assembla.com/v1/tasks/_id.json

Response:

HTTP/1.1 200 OK
Server: nginx/0.8.55
Date: Fri, 07 Sep 2012 13:12:30 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Status: 200
...

{}

JSON is formatted here for readability, in a real response JSON body is inline with no indentation.

Description for each field: Task object fields reference