code: def remove_s3_bucket():
      
      logger.debug("[#] Removing S3 bucket")
      client = boto3.client("s3", region_name=PRIMARY_REGION)
      buckets = client.list_buckets()
      matches = [x for x in buckets.get('Buckets', list())
                 if x['Name'].startswith(S3_BUCKET_NAME)]
      if len(matches) == 0:
          return
      match = matches.pop()['Name']
      try:
          response = client.list_objects_v2(
              Bucket=match,
          )
      except client.exceptions.NoSuchBucket:
          logger.info("[!] S3 bucket already deleted")
          return True
  
      while response['KeyCount'] > 0:
          logger.debug('[*] Deleting %d objects from bucket %s'
                       % (len(response['Contents']), match))
          response = client.delete_objects(
              Bucket=match,
              Delete={
                  'Objects': [{'Key': obj['Key']} for obj in response['Contents']]
              }
          )
          response = client.list_objects_v2(
              Bucket=match,
          )
  
      logger.debug('[#] Deleting bucket %s' % match)
      response = client.delete_bucket(
          Bucket=match
      )
      logger.info("[#] Successfully deleted the S3 bucket")
  
      return response
docs: Remove the Blockade bucket.