Skip to content

setTotpConfig

Setup TOTP configuration for a user. Return true when the operation succeeds.

Arguments

Argument Type Description
input (required) SetTotpConfigInput! Input required for setting up TOTP configuration.

Returns

Boolean!

Sample

mutation SetTotpConfig($input: SetTotpConfigInput!) {
  setTotpConfig(input: $input)
}
{
  "input": {}
}
{
  "data": {
    "setTotpConfig": true
  }
}