Skip to content
Start here

Custom Pages

List custom pages
zero_trust.access.custom_pages.list(CustomPageListParams**kwargs) -> SyncV4PagePaginationArray[CustomPageWithoutHTML]
GET/accounts/{account_id}/access/custom_pages
Get a custom page
zero_trust.access.custom_pages.get(strcustom_page_id, CustomPageGetParams**kwargs) -> CustomPage
GET/accounts/{account_id}/access/custom_pages/{custom_page_id}
Create a custom page
zero_trust.access.custom_pages.create(CustomPageCreateParams**kwargs) -> CustomPageWithoutHTML
POST/accounts/{account_id}/access/custom_pages
Update a custom page
zero_trust.access.custom_pages.update(strcustom_page_id, CustomPageUpdateParams**kwargs) -> CustomPageWithoutHTML
PUT/accounts/{account_id}/access/custom_pages/{custom_page_id}
Delete a custom page
zero_trust.access.custom_pages.delete(strcustom_page_id, CustomPageDeleteParams**kwargs) -> CustomPageDeleteResponse
DELETE/accounts/{account_id}/access/custom_pages/{custom_page_id}
ModelsExpand Collapse
class CustomPage:
custom_html: str

Custom page HTML.

name: str

Custom page name.

type: Literal["identity_denied", "forbidden"]

Custom page type.

One of the following:
"identity_denied"
"forbidden"
uid: Optional[str]

UUID.

maxLength36
class CustomPageWithoutHTML:
name: str

Custom page name.

type: Literal["identity_denied", "forbidden"]

Custom page type.

One of the following:
"identity_denied"
"forbidden"
uid: Optional[str]

UUID.

maxLength36
class CustomPageDeleteResponse:
id: Optional[str]

UUID.

maxLength36