deleteBucketsIDLabelsID method

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

Delete a label from a bucket

Parameters:

  • String bucketID (required): The bucket ID.

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

  • String zapTraceSpan: OpenTracing span context

Implementation

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