# LogtoResource.withAdminEndpoint

- Module: [CommunityToolkit.Aspire.Hosting.Logto](/reference/api/typescript/communitytoolkit.aspire.hosting.logto.md)
- Defined on: [LogtoResource](/reference/api/typescript/communitytoolkit.aspire.hosting.logto/logtoresource.md)
- Version: `13.5.0`
- Kind: `method`

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;
}
```

## Signature

```typescript
withAdminEndpoint(url: string): LogtoResource
```

## Parameters

- `url` (`string`)

## Returns

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

## Defined on

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