user_otp_delete_token
Last edit: Oct 13, 2026
Deletes a named OTP (one-time password) secret of a user. The default secret
cannot be deleted, only refreshed with user_otp_secret_refresh. Status is
not_found when the user has no secret with that name
user_otp_delete_token(
otp_name: String
user_id: ID!
): UserOtpDeleteTokenInformation
Arguments
otp_name (String)
Name of the OTP secret to delete; required in practice, as the default secret cannot be deleted
user_id (ID)
ID of the user
Type
UserOtpDeleteTokenInformation
Result of deleting an OTP secret of a user