Skip to content
Start here

Fallback Origin

Get Fallback Origin for Custom Hostnames
custom_hostnames.fallback_origin.get(FallbackOriginGetParams**kwargs) -> FallbackOriginGetResponse
GET/zones/{zone_id}/custom_hostnames/fallback_origin
Update Fallback Origin for Custom Hostnames
custom_hostnames.fallback_origin.update(FallbackOriginUpdateParams**kwargs) -> FallbackOriginUpdateResponse
PUT/zones/{zone_id}/custom_hostnames/fallback_origin
Delete Fallback Origin for Custom Hostnames
custom_hostnames.fallback_origin.delete(FallbackOriginDeleteParams**kwargs) -> FallbackOriginDeleteResponse
DELETE/zones/{zone_id}/custom_hostnames/fallback_origin
ModelsExpand Collapse
class FallbackOriginGetResponse:
created_at: Optional[datetime]

This is the time the fallback origin was created.

formatdate-time
errors: Optional[List[str]]

These are errors that were encountered while trying to activate a fallback origin.

origin: Optional[str]

Your origin hostname that requests to your custom hostnames will be sent to.

maxLength255
status: Optional[Literal["initializing", "pending_deployment", "pending_deletion", 3 more]]

Status of the fallback origin's activation.

One of the following:
"initializing"
"pending_deployment"
"pending_deletion"
"active"
"deployment_timed_out"
"deletion_timed_out"
updated_at: Optional[datetime]

This is the time the fallback origin was updated.

formatdate-time
class FallbackOriginUpdateResponse:
created_at: Optional[datetime]

This is the time the fallback origin was created.

formatdate-time
errors: Optional[List[str]]

These are errors that were encountered while trying to activate a fallback origin.

origin: Optional[str]

Your origin hostname that requests to your custom hostnames will be sent to.

maxLength255
status: Optional[Literal["initializing", "pending_deployment", "pending_deletion", 3 more]]

Status of the fallback origin's activation.

One of the following:
"initializing"
"pending_deployment"
"pending_deletion"
"active"
"deployment_timed_out"
"deletion_timed_out"
updated_at: Optional[datetime]

This is the time the fallback origin was updated.

formatdate-time
class FallbackOriginDeleteResponse:
created_at: Optional[datetime]

This is the time the fallback origin was created.

formatdate-time
errors: Optional[List[str]]

These are errors that were encountered while trying to activate a fallback origin.

origin: Optional[str]

Your origin hostname that requests to your custom hostnames will be sent to.

maxLength255
status: Optional[Literal["initializing", "pending_deployment", "pending_deletion", 3 more]]

Status of the fallback origin's activation.

One of the following:
"initializing"
"pending_deployment"
"pending_deletion"
"active"
"deployment_timed_out"
"deletion_timed_out"
updated_at: Optional[datetime]

This is the time the fallback origin was updated.

formatdate-time