deleteProjectAsynchronously method
Deletes a project asynchronously.
This operation is:
- transactional, that is, if part of the delete fails the project is not deleted.
- asynchronous. Follow the
location
link in the response to determine the status of the task and use Get task to obtain subsequent updates.
Permissions required: Administer Jira global permission.
Implementation
Future<TaskProgressBeanObject> deleteProjectAsynchronously(
String projectIdOrKey) async {
return TaskProgressBeanObject.fromJson(await _client.send(
'post',
'rest/api/3/project/{projectIdOrKey}/delete',
pathParameters: {
'projectIdOrKey': projectIdOrKey,
},
));
}