Archives a project. You can't delete a project if it's archived. To delete an archived project, restore the project and then delete it. To restore a project, use the Jira UI.Permissions required:Administer Jiraglobal permission.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'http://jira.local:8080/jira/rest//rest/api/3/project//archive'
Response Response Example
204 - Example 1
null
Request
Path Params
projectIdOrKey
stringÂ
required
The project ID or project key (case sensitive).
Responses
🟢204Returned if the request is successful.
application/json
Body
No schema defined
🟠400Returned if the request is not valid.
🟠401Returned if the authentication credentials are incorrect or missing.
🟠403Returned if the user does not have the necessary permissions.