Skip to main content

client_privileges_setting

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

Overview​

Nameclient_privileges_setting
TypeResource
Idokta.org.client_privileges_setting

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
clientPrivilegesSettingbooleanIf true, assigns the super admin role by default to new public client apps

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_client_privileges_settingselectsubdomainRetrieves the org setting to assign the Super Admin role to new public client apps
assign_client_privileges_settingreplacesubdomainAssigns the Super Admin role as the default role for new public client apps

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
subdomainstring(default: my-org)

SELECT examples​

Retrieves the org setting to assign the Super Admin role to new public client apps

SELECT
clientPrivilegesSetting
FROM okta.org.client_privileges_setting
WHERE subdomain = '{{ subdomain }}' -- required
;

REPLACE examples​

Assigns the Super Admin role as the default role for new public client apps

REPLACE okta.org.client_privileges_setting
SET
clientPrivilegesSetting = {{ clientPrivilegesSetting }}
WHERE
subdomain = '{{ subdomain }}' --required
RETURNING
clientPrivilegesSetting;