removeLevel method
Deletes an issue security level.
This operation is 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> removeLevel(
{required String schemeId,
required String levelId,
String? replaceWith}) async {
return TaskProgressBeanObject.fromJson(await _client.send(
'delete',
'rest/api/3/issuesecurityschemes/{schemeId}/level/{levelId}',
pathParameters: {
'schemeId': schemeId,
'levelId': levelId,
},
queryParameters: {
if (replaceWith != null) 'replaceWith': replaceWith,
},
));
}