You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Project/ProjectService.php
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -357,4 +357,27 @@ public function deleteProject($projectIdOrKey)
357
357
358
358
return$ret;
359
359
}
360
+
361
+
/**
362
+
* Archive a project only available for premium subscription
363
+
*
364
+
* @param string $projectIdOrKey
365
+
*
366
+
* @throws JiraException
367
+
*
368
+
* @return string response status
369
+
*
370
+
* STATUS 401 Returned if the user is not logged in.
371
+
* STATUS 204 - application/json Returned if the project is successfully archived.
372
+
* STATUS 403 - Returned if the currently authenticated user does not have permission to archive the project.
373
+
* STATUS 404 - Returned if the project does not exist.
374
+
* STATUS 405 - Method not allowed specified request HTTP method was received and recognized by the server, but is not supported by the target resource.
0 commit comments