# withAdminEndpoint

- Module: [CommunityToolkit.Aspire.Hosting.Logto](/reference/api/typescript/communitytoolkit.aspire.hosting.logto.md)
- Version: `13.5.0`
- Kind: `method`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1)

Configures the specified Logto resource to include an administrative endpoint with the given URL.

## Definition

```typescript
interface LogtoResource {
  // ... omitted for brevity
  withAdminEndpoint(url: string): LogtoResource
}
```

## Parameters

- `url` (`string`)

## Returns

[LogtoResource](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/logtoresource.md) `builder`

## Applies to

- [LogtoResource](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/logtoresource.md)
