archiveProject method
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 Jira global permission.
Implementation
Future<dynamic> archiveProject(String projectIdOrKey) async {
return await _client.send(
'post',
'rest/api/3/project/{projectIdOrKey}/archive',
pathParameters: {
'projectIdOrKey': projectIdOrKey,
},
);
}