deleteTasksIDLabelsID method

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

Delete a label from a task

Parameters:

  • String taskID (required): The task ID.

  • String labelID (required): The label ID.

  • String zapTraceSpan: OpenTracing span context

Implementation

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