NetlifySite
Defined in: sites/sites.ts:4
Netlify site — the subset of fields consumers read/write.
Properties
Section titled “Properties”account_id
Section titled “account_id”account_id:
string
Defined in: sites/sites.ts:16
The id of the account that owns the site.
account_slug?
Section titled “account_slug?”
optionalaccount_slug?:string
Defined in: sites/sites.ts:18
The slug of the account that owns the site.
admin_url
Section titled “admin_url”admin_url:
string
Defined in: sites/sites.ts:14
The URL of the site’s page in the Netlify admin UI.
custom_domain?
Section titled “custom_domain?”
optionalcustom_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
Section titled “ssl_url”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.