Okta Admin Management API
/Customizations
/- Replace the customized error page
Custom Pages
Retrieve the error page sub-resources
Retrieve the customized error page
Delete the customized error page
Retrieve the default error page
Retrieve the preview error page preview
Replace the preview error page
Delete the preview error page
Retrieve the sign-in page sub-resources
Retrieve the customized sign-in page
Replace the customized sign-in page
Delete the customized sign-in page
Retrieve the default sign-in page
Retrieve the preview sign-in page preview
Replace the preview sign-in page
Delete the preview sign-in page
List all Sign-In Widget versions
Retrieve the sign-out page settings
Replace the sign-out page settings
Replace the customized er...
OAuth 2.0 scope:
- okta.brands.manage
Replaces the customized error page. The customized error page appears in your live environment.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/brands/{brandId}/pages/error/customized
curl -i -X PUT \
'https://subdomain.okta.com/api/v1/brands/{brandId}/pages/error/customized' \
-H 'Content-Type: application/json' \
-d '{
"pageContent": "string",
"contentSecurityPolicySetting": {
"mode": "enforced",
"reportUri": "string",
"srcList": [
"string"
]
}
}'Response
{ "pageContent": "string", "contentSecurityPolicySetting": { "mode": "enforced", "reportUri": "string", "srcList": [ … ] } }