Skip to main content

custom_aaguids

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

Overview​

Namecustom_aaguids
TypeResource
Idokta.authenticators.custom_aaguids

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe product name associated with the AAGUID
_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.
aaguidstringA unique 128-bit identifier that's assigned to a specific model of security key or authenticator
attestationRootCertificatesarray
authenticatorCharacteristicsobjectContains additional properties about custom AAGUID.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_custom_aaguidselectauthenticatorId, aaguid, subdomainRetrieves a custom AAGUID
list_all_custom_aaguidsselectauthenticatorId, subdomainLists all custom Authenticator Attestation Global Unique Identifiers (AAGUIDs) in the org

Only custom AAGUIDs that an admin has created are returned.
create_custom_aaguidinsertauthenticatorId, subdomainCreates a custom AAGUID for the Passkey (FIDO2 WebAuthn) authenticator
update_custom_aaguidupdateauthenticatorId, aaguid, subdomainUpdates the properties of a custom AAGUID by the authenticatorId and aaguid ID
replace_custom_aaguidreplaceauthenticatorId, aaguid, subdomainReplaces a custom AAGUID for the specified Passkey (FIDO2 WebAuthn) authenticator
delete_custom_aaguiddeleteauthenticatorId, aaguid, subdomainDeletes a custom AAGUID

You can only delete custom AAGUIDs that an admin has created.

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
aaguidstringUnique ID of a custom AAGUID
authenticatorIdstringid of the authenticator
subdomainstring(default: my-org)

SELECT examples​

Retrieves a custom AAGUID

SELECT
name,
_links,
aaguid,
attestationRootCertificates,
authenticatorCharacteristics
FROM okta.authenticators.custom_aaguids
WHERE authenticatorId = '{{ authenticatorId }}' -- required
AND aaguid = '{{ aaguid }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;

INSERT examples​

Creates a custom AAGUID for the Passkey (FIDO2 WebAuthn) authenticator

INSERT INTO okta.authenticators.custom_aaguids (
aaguid,
attestationRootCertificates,
authenticatorCharacteristics,
authenticatorId,
subdomain
)
SELECT
'{{ aaguid }}',
'{{ attestationRootCertificates }}',
'{{ authenticatorCharacteristics }}',
'{{ authenticatorId }}',
'{{ subdomain }}'
RETURNING
name,
_links,
aaguid,
attestationRootCertificates,
authenticatorCharacteristics
;

UPDATE examples​

Updates the properties of a custom AAGUID by the authenticatorId and aaguid ID

UPDATE okta.authenticators.custom_aaguids
SET
attestationRootCertificates = '{{ attestationRootCertificates }}',
authenticatorCharacteristics = '{{ authenticatorCharacteristics }}',
name = '{{ name }}'
WHERE
authenticatorId = '{{ authenticatorId }}' --required
AND aaguid = '{{ aaguid }}' --required
AND subdomain = '{{ subdomain }}' --required
RETURNING
name,
_links,
aaguid,
attestationRootCertificates,
authenticatorCharacteristics;

REPLACE examples​

Replaces a custom AAGUID for the specified Passkey (FIDO2 WebAuthn) authenticator

REPLACE okta.authenticators.custom_aaguids
SET
attestationRootCertificates = '{{ attestationRootCertificates }}',
authenticatorCharacteristics = '{{ authenticatorCharacteristics }}',
name = '{{ name }}'
WHERE
authenticatorId = '{{ authenticatorId }}' --required
AND aaguid = '{{ aaguid }}' --required
AND subdomain = '{{ subdomain }}' --required
RETURNING
name,
_links,
aaguid,
attestationRootCertificates,
authenticatorCharacteristics;

DELETE examples​

Deletes a custom AAGUID

You can only delete custom AAGUIDs that an admin has created.

DELETE FROM okta.authenticators.custom_aaguids
WHERE authenticatorId = '{{ authenticatorId }}' --required
AND aaguid = '{{ aaguid }}' --required
AND subdomain = '{{ subdomain }}' --required
;