We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a42ccc4 commit fe6ab0cCopy full SHA for fe6ab0c
src/Torann/LaravelAsana/Asana.php
@@ -138,6 +138,17 @@ public function updateTask($taskId, $data)
138
return $this->curl->put("tasks/{$taskId}", array('data' => $data));
139
}
140
141
+ /**
142
+ * Delete a task
143
+ *
144
+ * @param string $taskId
145
+ * @return string JSON or null
146
+ */
147
+ public function deleteTask($taskId)
148
+ {
149
+ return $this->curl->delete("tasks/{$taskId}");
150
+ }
151
+
152
/**
153
* Add Attachment to a task
154
*
0 commit comments