Custom Pages
List custom pages
client.zeroTrust.access.customPages.list(CustomPageListParams { account_id, page, per_page } params, RequestOptionsoptions?): V4PagePaginationArray<CustomPageWithoutHTML { name, type, contract_version, 2 more } >
GET/accounts/{account_id}/access/custom_pages
Get a custom page
client.zeroTrust.access.customPages.get(stringcustomPageID, CustomPageGetParams { account_id } params, RequestOptionsoptions?): CustomPage { custom_html, name, type, 2 more }
GET/accounts/{account_id}/access/custom_pages/{custom_page_id}
Validate a custom page template
client.zeroTrust.access.customPages.validate(CustomPageValidateParams { account_id, template, type, version } params, RequestOptionsoptions?): CustomPageValidateResponse { errors, page_type, version, warnings }
POST/accounts/{account_id}/access/custom_pages/validate
Create a custom page
client.zeroTrust.access.customPages.create(CustomPageCreateParams { account_id, custom_html, name, 2 more } params, RequestOptionsoptions?): CustomPageWithoutHTML { name, type, contract_version, 2 more }
POST/accounts/{account_id}/access/custom_pages
Update a custom page
client.zeroTrust.access.customPages.update(stringcustomPageID, CustomPageUpdateParams { account_id, custom_html, name, 2 more } params, RequestOptionsoptions?): CustomPageWithoutHTML { name, type, contract_version, 2 more }
PUT/accounts/{account_id}/access/custom_pages/{custom_page_id}
Delete a custom page
client.zeroTrust.access.customPages.delete(stringcustomPageID, CustomPageDeleteParams { account_id } params, RequestOptionsoptions?): CustomPageDeleteResponse { id }
DELETE/accounts/{account_id}/access/custom_pages/{custom_page_id}