deleteBucketsID method

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

Delete a bucket

Parameters:

  • String bucketID (required): The ID of the bucket to delete.

  • String zapTraceSpan: OpenTracing span context

Implementation

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