SDK

Get the current user's MFA Methods

get/sdk/{environmentId}/users/mfa/methods

Request

  • Base URL
    https://app.dynamicauth.com/api/v0
  • Auth
    HTTP bearer

Path parameters

environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

ID of the environment

Query parameters

verifiedOnlyboolean

Response

successful operation

userHasVerifiedMfaMethodsboolean required

Whether or not the user has any verified MFA methods

Example response

{
  "devices": [
    {
      "id": "95b11417-f18f-457f-8804-68e361f9164f"
    }
  ],
  "passkeys": [
    {
      "id": "95b11417-f18f-457f-8804-68e361f9164f",
      "credentialId": "An example name"
    }
  ]
}

Changes

No recorded changes to this operation across all 5 revisions of this API.