---
name: "mongoc_server_api_strict"
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_server_api_strict"
---

# mongoc\_server\_api\_strict(3)

## SYNOPSIS

```
void
mongoc_server_api_strict (mongoc_server_api_t *api, bool strict);
```

Set whether to be strict about the list of allowed commands in this API version.

## PARAMETERS

- •

  **api**: A *mongoc\_server\_api\_t*.

- •

  **strict**: Whether or not to be struct about the list of allowed API commands.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
