> For the complete documentation index, see [llms.txt](https://nomadas.gitbook.io/mongo-server/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nomadas.gitbook.io/mongo-server/basics/restrict-endpoints.md).

# Restrict endpoints

You can restrict the endpoints for only what you provided using the restrict option in your config file:

```javascript
module.exports= {
  restrict: true,
  resources: ['users','dogs']
  // or
  resources: {
    users: true,
    dogs: true,
  }
}
```
