Skip to content
Start here

Custom Pages

List custom pages
client.ZeroTrust.Access.CustomPages.List(ctx, params) (*V4PagePaginationArray[CustomPageWithoutHTML], error)
GET/accounts/{account_id}/access/custom_pages
Get a custom page
client.ZeroTrust.Access.CustomPages.Get(ctx, customPageID, query) (*CustomPage, error)
GET/accounts/{account_id}/access/custom_pages/{custom_page_id}
Create a custom page
client.ZeroTrust.Access.CustomPages.New(ctx, params) (*CustomPageWithoutHTML, error)
POST/accounts/{account_id}/access/custom_pages
Update a custom page
client.ZeroTrust.Access.CustomPages.Update(ctx, customPageID, params) (*CustomPageWithoutHTML, error)
PUT/accounts/{account_id}/access/custom_pages/{custom_page_id}
Delete a custom page
client.ZeroTrust.Access.CustomPages.Delete(ctx, customPageID, body) (*AccessCustomPageDeleteResponse, error)
DELETE/accounts/{account_id}/access/custom_pages/{custom_page_id}
ModelsExpand Collapse
type CustomPage struct{…}
CustomHTML string

Custom page HTML.

Name string

Custom page name.

Type CustomPageType

Custom page type.

One of the following:
const CustomPageTypeIdentityDenied CustomPageType = "identity_denied"
const CustomPageTypeForbidden CustomPageType = "forbidden"
UID stringoptional

UUID.

maxLength36
type CustomPageWithoutHTML struct{…}
Name string

Custom page name.

Type CustomPageWithoutHTMLType

Custom page type.

One of the following:
const CustomPageWithoutHTMLTypeIdentityDenied CustomPageWithoutHTMLType = "identity_denied"
const CustomPageWithoutHTMLTypeForbidden CustomPageWithoutHTMLType = "forbidden"
UID stringoptional

UUID.

maxLength36