---
lang: en
title: 'API docs: rest-crud.crudrestcontrolleroptions.basepath'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/rest-crud
permalink: /doc/en/lb4/apidocs.rest-crud.crudrestcontrolleroptions.basepath.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest-crud](./rest-crud.md) &gt; [CrudRestControllerOptions](./rest-crud.crudrestcontrolleroptions.md) &gt; [basePath](./rest-crud.crudrestcontrolleroptions.basepath.md)

## CrudRestControllerOptions.basePath property

The base path where to "mount" the controller.

<b>Signature:</b>

```typescript
basePath: string;
```

