deleteLabelsID method

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

Delete a label

Parameters:

  • String labelID (required): The ID of the label to delete.

  • String zapTraceSpan: OpenTracing span context

Implementation

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