Auth

Start Yubico OTP enrollment

Enrolls a Yubikey using Yubico OTP. Touch your Yubikey to generate an OTP.

post/auth/mfa/enroll/yubiotp/start

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/auth/mfa/enroll/yubiotp/start
  • Auth: one of:
    • API key in header Cookie
    • API key in header X-CSRF-Token

Request body

labelstring
yubi_otpstring required

Response

OK

backup_codesstring[]
method_idinteger required

Changes

No recorded changes to this operation across all 50 revisions of this API.