Skip to main content

Arguments

input : CreateMfaDeviceInputType! required

Input fields for creating a new multi-factor authentication device for the logged user.

Returns

CreateMfaDevice

Create a multi-factor authentication (MFA) device for a user.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can create mfa device

Rate Limits

Key Steps
user ['2/m']

Query Complexity

1

Examples

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.

Query

mutation CreateMfaDevice($input: CreateMfaDeviceInputType!) { createMfaDevice(input: $input) { deviceEmail devicePhone totpSecret } }

Variables

Response

{ "data": { "createMfaDevice": { "deviceEmail": "girl-middle-close-role-American", "devicePhone": "wonder-space-pick-environment-tree", "totpSecret": "where-cause-simply-success-process" } } }