Skip to main content

communication_settings

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

Overview

Namecommunication_settings
TypeResource
Idokta.org.communication_settings

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
optOutEmailUsersbooleanIndicates whether org users receive Okta communication emails

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_okta_communication_settingsselectsubdomainRetrieves Okta Communication Settings of your org
opt_in_users_to_okta_communication_emailsexecsubdomainOpts in all users of this org to Okta communication emails
opt_out_users_from_okta_communication_emailsexecsubdomainOpts out all users of this org from Okta communication emails

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

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

Lifecycle Methods

Opts in all users of this org to Okta communication emails

EXEC okta.org.communication_settings.opt_in_users_to_okta_communication_emails 
@subdomain='{{ subdomain }}' --required
;