client_privileges_setting
Creates, updates, deletes, gets or lists a client_privileges_setting resource.
Overview​
| Name | client_privileges_setting |
| Type | Resource |
| Id | okta.org.client_privileges_setting |
Fields​
The following fields are returned by SELECT queries:
- get_client_privileges_setting
| Name | Datatype | Description |
|---|---|---|
clientPrivilegesSetting | boolean | If true, assigns the super admin role by default to new public client apps |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_client_privileges_setting | select | subdomain | Retrieves the org setting to assign the Super Admin role to new public client apps | |
assign_client_privileges_setting | replace | subdomain | Assigns 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.
| Name | Datatype | Description |
|---|---|---|
subdomain | string | (default: my-org) |
SELECT examples​
- get_client_privileges_setting
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​
- assign_client_privileges_setting
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;