File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public function __construct($userId, $accessKey)
5959 * @param string $requestMethod HTTP request method
6060 * @param string $url URL
6161 * @param mixed $parameters Parameters
62- *
62+ *
6363 * @return mixed
6464 *
6565 * @see http://saucelabs.com/docs/saucerest
@@ -226,6 +226,18 @@ public function stopJob($jobId)
226226 return $ this ->execute ('PUT ' , $ this ->userId . '/jobs/ ' . $ jobId . '/stop ' );
227227 }
228228
229+ /**
230+ * Delete job: /rest/v1/:userId/jobs/:jobId (DELETE)
231+ *
232+ * @param string $jobId
233+ *
234+ * @return array
235+ */
236+ public function deleteJob ($ jobId )
237+ {
238+ return $ this ->execute ('DELETE ' , $ this ->userId . '/jobs/ ' . $ jobId );
239+ }
240+
229241 /**
230242 * Get running tunnels for a given user: /rest/v1/:userId/tunnels (GET)
231243 *
You can’t perform that action at this time.
0 commit comments