Skip to main content

default_error_page

Creates, updates, deletes, gets or lists a default_error_page resource.

Overview

Namedefault_error_page
TypeResource
Idokta.brands.default_error_page

Fields

The following fields are returned by SELECT queries:

Successfully retrieved the default error page.

NameDatatypeDescription
contentSecurityPolicySettingobject
pageContentstringThe HTML for the page

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_default_error_pageselectsubdomainRetrieves the default error page. The default error page appears when no customized error page exists.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
subdomainstringThe domain of your organization. This can be a provided subdomain of an official okta domain (okta.com, oktapreview.com, etc) or one of your configured custom domains. (default: my-org)

SELECT examples

Retrieves the default error page. The default error page appears when no customized error page exists.

SELECT
contentSecurityPolicySetting,
pageContent
FROM okta.brands.default_error_page
WHERE subdomain = '{{ subdomain }}' -- required
;