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 e33c6ef commit c96eb8cCopy full SHA for c96eb8c
lib/Gitlab/Api/Projects.php
@@ -262,7 +262,17 @@ public function cancelPipeline($project_id, $pipeline_id)
262
{
263
return $this->post($this->getProjectPath($project_id, 'pipelines/'.$this->encodePath($pipeline_id)).'/cancel');
264
}
265
-
+
266
+ /**
267
+ * @param $project_id
268
+ * @param $pipeline_id
269
+ * @return mixed
270
+ */
271
+ public function deletePipeline($project_id, $pipeline_id)
272
+ {
273
+ return $this->delete($this->getProjectPath($project_id, 'pipelines/'.$this->encodePath($pipeline_id)));
274
+ }
275
276
/**
277
* @param integer $project_id
278
* @param array $parameters
0 commit comments