Skip to main content

mfa_recovery_pin_setting

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

Overview

Namemfa_recovery_pin_setting
TypeResource
Idokta.device_access.mfa_recovery_pin_setting

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
desktopMFARecoveryPinEnabledbooleanIndicates whether or not the Desktop MFA Recovery PIN feature is enabled

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_desktop_mfarecovery_pin_org_settingselectsubdomainRetrieves the status of the Desktop MFA Recovery PIN feature. That is, whether or not the feature is enabled for your org.
replace_desktop_mfarecovery_pin_org_settingreplacesubdomainReplaces the Desktop MFA Recovery PIN feature for 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 the status of the Desktop MFA Recovery PIN feature. That is, whether or not the feature is enabled for your org.

SELECT
desktopMFARecoveryPinEnabled
FROM okta.device_access.mfa_recovery_pin_setting
WHERE subdomain = '{{ subdomain }}' -- required;

REPLACE examples

Replaces the Desktop MFA Recovery PIN feature for your org

REPLACE okta.device_access.mfa_recovery_pin_setting
SET
data__desktopMFARecoveryPinEnabled = {{ desktopMFARecoveryPinEnabled }}
WHERE
subdomain = '{{ subdomain }}' --required
RETURNING
desktopMFARecoveryPinEnabled;