Replace the Preview Error Page

PUT {{baseUrl}}/api/v1/brands/:brandId/pages/error/preview

Replaces the preview error page. The preview error page contains unpublished changes and isn't shown in your live environment. Preview it at ${yourOktaDomain}/error/preview.

Request Body

{"pageContent"=>"anim labore in", "contentSecurityPolicySetting"=>{"mode"=>"enforced", "reportUri"=>"dolore pariatur eu exercitation", "srcList"=>["ut", "sint dolor sed inc"]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"pageContent":"anim labore in","contentSecurityPolicySetting":{"mode":"enforced","reportUri":"dolore pariatur eu exercitation","srcList":["ut","sint dolor sed inc"]}}