Skip to main content

opt_in_status

Creates, updates, deletes, gets or lists an opt_in_status resource.

Overview

Nameopt_in_status
TypeResource
Idokta.iam.opt_in_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
_linksobject
optInStatusstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_opt_in_statusselectsubdomainRetrieves the opt-in status of the Admin Console from RAMP
opt_inexecsubdomainOpts in the Admin Console to RAMP
opt_outexecsubdomainOpts out the Admin Console from RAMP

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 the opt-in status of the Admin Console from RAMP

SELECT
_links,
optInStatus
FROM okta.iam.opt_in_status
WHERE subdomain = '{{ subdomain }}' -- required
;

Lifecycle Methods

Opts in the Admin Console to RAMP

EXEC okta.iam.opt_in_status.opt_in 
@subdomain='{{ subdomain }}' --required
;