Skip to content

NetlifySite

Defined in: sites/sites.ts:4

Netlify site — the subset of fields consumers read/write.

account_id: string

Defined in: sites/sites.ts:16

The id of the account that owns the site.


optional account_slug?: string

Defined in: sites/sites.ts:18

The slug of the account that owns the site.


admin_url: string

Defined in: sites/sites.ts:14

The URL of the site’s page in the Netlify admin UI.


optional custom_domain?: string | null

Defined in: sites/sites.ts:20

The site’s custom domain, or null when none is set.


id: string

Defined in: sites/sites.ts:6

The site’s id.


name: string

Defined in: sites/sites.ts:8

The site’s name.


ssl_url: string

Defined in: sites/sites.ts:12

The site’s HTTPS URL.


url: string

Defined in: sites/sites.ts:10

The site’s URL.