Custom Pages
List custom pages
client.customPages.list(CustomPageListParams { account_id, zone_id } params?, RequestOptionsoptions?): SinglePage<CustomPageListResponse { id, created_on, description, 5 more } >
GET/{accounts_or_zones}/{account_or_zone_id}/custom_pages
Get a custom page
client.customPages.get("1000_errors" | "500_errors" | "basic_challenge" | 7 moreidentifier, CustomPageGetParams { account_id, zone_id } params?, RequestOptionsoptions?): CustomPageGetResponse { id, created_on, description, 5 more }
GET/{accounts_or_zones}/{account_or_zone_id}/custom_pages/{identifier}
Update a custom page
client.customPages.update("1000_errors" | "500_errors" | "basic_challenge" | 7 moreidentifier, CustomPageUpdateParams { state, url, account_id, zone_id } params, RequestOptionsoptions?): CustomPageUpdateResponse { id, created_on, description, 5 more }
PUT/{accounts_or_zones}/{account_or_zone_id}/custom_pages/{identifier}