v1

latestOpenAPI 3.0.2Mozilla Public License 2.02026-07-17307105155.2 KB
identity

Update or create a configuration for the given MFA method

post/identity/mfa/method/duo/{method_id}

Request body

api_hostnamestring

API host name for Duo.

integration_keystring

Integration key for Duo.

method_idstring

The unique identifier for this MFA method.

push_infostring

Push information for Duo.

secret_keystring

Secret key for Duo.

use_passcodeboolean

If true, the user is reminded to use the passcode upon MFA validation. This option does not enforce using the passcode. Defaults to false.

username_formatstring

A template string for mapping Identity names to MFA method names. Values to subtitute should be placed in {{}}. For example, "{{alias.name}}@example.com". Currently-supported mappings: alias.name: The name returned by the mount configured via the mount_accessor parameter If blank, the Alias's name field will be used as-is.

Response

OK