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)
59
59
* @param string $requestMethod HTTP request method
60
60
* @param string $url URL
61
61
* @param mixed $parameters Parameters
62
- *
62
+ *
63
63
* @return mixed
64
64
*
65
65
* @see http://saucelabs.com/docs/saucerest
@@ -226,6 +226,18 @@ public function stopJob($jobId)
226
226
return $ this ->execute ('PUT ' , $ this ->userId . '/jobs/ ' . $ jobId . '/stop ' );
227
227
}
228
228
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
+
229
241
/**
230
242
* Get running tunnels for a given user: /rest/v1/:userId/tunnels (GET)
231
243
*
You can’t perform that action at this time.
0 commit comments