---
name: "mongoc_gridfs_bucket_destroy"
section: "3"
platform: "linux"
package: "libmongoc-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mongoc_gridfs_bucket_destroy"
---

# mongoc\_gridfs\_bucket\_destroy(3)

## SYNOPSIS

```
void
mongoc_gridfs_bucket_destroy (mongoc_gridfs_bucket_t *bucket);
```

## PARAMETERS

- •

  **bucket**: A *mongoc\_gridfs\_bucket\_t* or **NULL**.

## DESCRIPTION

Destroys a *mongoc\_gridfs\_bucket\_t*. Does nothing if passed **NULL**.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
