Domains on Fastly

The Domains API allows you to manage your domains on Fastly and the services that they interact with.

WARNING: This information is part of a limited availability release. Portions of this API may be subject to changes and improvements over time. Fields marked deprecated may be removed in the future and their use is discouraged. For more information, see our product and feature lifecycle descriptions.

Domain request (create)

All attributes for creating a domain.

descriptionstringA freeform descriptive note.
fqdnstringThe fully-qualified domain name for your domain. Can be created, but not updated. Required.
service_idstringThe service_id associated with your domain or null if there is no association.

Domain request (update)

All attributes for updating a domain.

descriptionstringA freeform descriptive note.
service_idstringThe service_id associated with your domain or null if there is no association.

Domain response

All attributes for a domain response.

activatedbooleanDenotes if the domain has at least one TLS activation or not. Read-only.
created_atstringDate and time in ISO 8601 format. Read-only.
descriptionstringA freeform descriptive note.
fqdnstringThe fully-qualified domain name for your domain. Can be created, but not updated.
idstringDomain Identifier (UUID).
service_idstringThe service_id associated with your domain or null if there is no association.
updated_atstringDate and time in ISO 8601 format. Read-only.
verifiedbooleanDenotes that the customer has proven ownership over the domain by obtaining a Fastly-managed TLS certificate for it or by providing a their own TLS certificate from a publicly-trusted CA that includes the domain or matching wildcard. Read-only.

Endpoints

List domains

GET/domains/v1

Create a domain

POST/domains/v1

Get a domain

GET/domains/v1/domain_id

Delete a domain

DELETE/domains/v1/domain_id

Update a domain

PATCH/domains/v1/domain_id