# LogtoResource.WithAdminEndpoint

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

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

## Definition

```go
type LogtoResource interface {
    // ... omitted for brevity
    WithAdminEndpoint(url string) LogtoResource
}
```

## Signature

```go
WithAdminEndpoint(url string) LogtoResource
```

## Parameters

- `url` (`string`) -- The URL of the administrative endpoint to be used for the Logto resource.

## Returns

[`LogtoResource`](/reference/api/go/communitytoolkit.aspire.hosting.logto/logtoresource.md) -- The resource builder for the configured Logto resource.

Returns a handle; failures surface later via `Err()`.

## Defined on

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