Zum Inhalt springen

startCurrentUserOtpRotation

Starts re-enrolling the authenticator of the current user. Requires a code from the current authenticator; the current secret stays valid until finishCurrentUserOtpRotation.

Type: OtpRotationStart!

Arguments

  • currentCode: String! — Six-digit code from the current authenticator.
mutation($currentCode: String!) {
startCurrentUserOtpRotation(currentCode: $currentCode) {
otpAuthUri
secret
}
}