code: func (s *BucketService) DeleteBucket(ctx context.Context, bucketID platform.ID) error {
  	bucket, err := s.FindBucketByID(ctx, bucketID)
  	if err != nil {
  		return err
  	}
  
  	// The data is dropped first from the storage engine. If this fails for any
  	// reason, then the bucket will still be available in the future to retrieve
  	// the orgID, which is needed for the engine.
  	if err := s.engine.DeleteBucket(bucket.OrganizationID, bucketID); err != nil {
  		return err
  	}
  	return s.inner.DeleteBucket(ctx, bucketID)
  }
docs: // DeleteBucket removes a bucket by ID.