default_error_page
Creates, updates, deletes, gets or lists a default_error_page resource.
Overview​
| Name | default_error_page |
| Type | Resource |
| Id | okta.brands.default_error_page |
Fields​
The following fields are returned by SELECT queries:
- get_default_error_page
Successfully retrieved the default error page.
| Name | Datatype | Description |
|---|---|---|
contentSecurityPolicySetting | object | |
pageContent | string | The HTML for the page |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_default_error_page | select | brandId, subdomain | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
brandId | string | The ID of the brand |
subdomain | string | (default: my-org) |
SELECT examples​
- get_default_error_page
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 brandId = '{{ brandId }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;