Skip to main content

authenticator_methods

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

Overview

Nameauthenticator_methods
TypeResource
Idokta.authenticators.authenticator_methods

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
_linksobjectSpecifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
statusstringThe status of the authenticator method
typestringThe type of authenticator method

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_authenticator_methodsselectsubdomainLists all methods of an authenticator identified by authenticatorId
get_authenticator_methodselectsubdomainRetrieves a method identified by methodType of an authenticator identified by authenticatorId
replace_authenticator_methodreplacesubdomainReplaces a method of methodType for an authenticator identified by authenticatorId
activate_authenticator_methodexecsubdomainActivates a method for an authenticator identified by authenticatorId and methodType
deactivate_authenticator_methodexecsubdomainDeactivates a method for an authenticator identified by authenticatorId and methodType

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

Lists all methods of an authenticator identified by authenticatorId

SELECT
_links,
status,
type
FROM okta.authenticators.authenticator_methods
WHERE subdomain = '{{ subdomain }}' -- required
;

REPLACE examples

Replaces a method of methodType for an authenticator identified by authenticatorId

REPLACE okta.authenticators.authenticator_methods
SET
data__status = '{{ status }}',
data__type = '{{ type }}'
WHERE
subdomain = '{{ subdomain }}' --required
RETURNING
_links,
status,
type
;

Lifecycle Methods

Activates a method for an authenticator identified by authenticatorId and methodType

EXEC okta.authenticators.authenticator_methods.activate_authenticator_method 
@subdomain='{{ subdomain }}' --required
;