deleteWorkflowScheme method

Future deleteWorkflowScheme(
  1. int id
)

Deletes a workflow scheme. Note that a workflow scheme cannot be deleted if it is active (that is, being used by at least one project).

Permissions required: Administer Jira global permission.

Implementation

Future<dynamic> deleteWorkflowScheme(int id) async {
  return await _client.send(
    'delete',
    'rest/api/3/workflowscheme/{id}',
    pathParameters: {
      'id': '$id',
    },
  );
}