# DomainHostnameList

The DomainHostnameList type of the TypeScript SDK, which hostnames.list and 2 more methods take or answer.

```ts
type DomainHostnameList = {
  canClaim: boolean
  domain: string
  hostnames: DomainHostname[]
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `canClaim` | `boolean` | True if this account plan permits claiming vanity hostnames |
| `domain` | `string` | Domain name |
| `hostnames` | [`DomainHostname[]`](/docs/sdks/typescript/types/domain-hostname) | Custom hostname configurations for every service slot |

## Used by

| Method | What it does |
| --- | --- |
| [`hostnames.list`](/docs/sdks/typescript/hostnames/list) | Get vanity hostnames for domain |
| [`hostnames.set`](/docs/sdks/typescript/hostnames/set) | Configure vanity hostname |
| [`hostnames.check`](/docs/sdks/typescript/hostnames/check) | Check vanity hostnames status |
