deleteTasksID method

Future<void> deleteTasksID(
  1. String taskID, {
  2. String? zapTraceSpan,
})

Delete a task

Deletes a task and all associated records

Parameters:

  • String taskID (required): The ID of the task to delete.

  • String zapTraceSpan: OpenTracing span context

Implementation

Future<void> deleteTasksID(String taskID, {String? zapTraceSpan}) async {
  final response =
      await deleteTasksIDWithHttpInfo(taskID, zapTraceSpan: zapTraceSpan);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}