createMfaDevice
Create a multi-factor authentication (MFA) device for a user.
Arguments
Input fields for creating a new multi-factor authentication device for the logged user.
Possible Errors
Allowed Viewers
Required Permissions
Can create mfa deviceRate Limits
| Key | Steps |
|---|---|
user |
['2/m'] |
Query Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation CreateMfaDevice($input: CreateMfaDeviceInputType!) {
createMfaDevice(input: $input) {
deviceEmail
devicePhone
totpSecret
}
}
Variables
{
"input": CreateMfaDeviceInputType
}
Response
{
"data": {
"createMfaDevice": {
"deviceEmail": "girl-middle-close-role-American",
"devicePhone": "wonder-space-pick-environment-tree",
"totpSecret": "where-cause-simply-success-process"
}
}
}