v2

latestOpenAPI 3.0.12026-07-26334612609.5 KB
SDK

Register a new TOTP MFA device and get Totp Secret

get/sdk/{environmentId}/users/mfa/register/totp

Path parameters

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

ID of the environment

Response

successful operation

idstring required
type'totp' | 'passkey' | 'email' required
secretstring required

The secret key for the TOTP device

uristring required

The OTP Auth URI

Example response

{
  "id": "95b11417-f18f-457f-8804-68e361f9164f"
}