Skip to main content

preferences

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

Overview

Namepreferences
TypeResource
Idokta.org.preferences

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
_linksobjectSpecifies link relations (see Web Linking) available for this object using the JSON Hypertext Application Language specification
showEndUserFooterbooleanIndicates if the footer is shown on the End-User Dashboard

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_org_preferencesselectsubdomainRetrieves preferences of your Okta org
upload_org_logoexecsubdomain, fileUploads and replaces the logo for your organization
set_org_hide_okta_uifooterexecsubdomainSets the preference to hide the Okta End-User Dashboard footer for all end users of your org
set_org_show_okta_uifooterexecsubdomainSets the preference to show the Okta UI footer for all end users of your org

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 preferences of your Okta org

SELECT
_links,
showEndUserFooter
FROM okta.org.preferences
WHERE subdomain = '{{ subdomain }}' -- required
;

Lifecycle Methods

Uploads and replaces the logo for your organization

EXEC okta.org.preferences.upload_org_logo 
@subdomain='{{ subdomain }}' --required
@@json=
'{
"file": "{{ file }}"
}'
;