Generate two-factor recovery codes for a user. Generating two-factor recovery codes will invalidate any existing recovery codes.

post/api/user/two-factor/recovery-code/{userId}

Request

  • Base URL: http://localhost:9011
  • URL: http://localhost:9011/api/user/two-factor/recovery-code/{userId}
  • Auth: API key in header Authorization

Path parameters

userIdstring required

The Id of the user to generate new Two Factor recovery codes.

Response

Success

recoveryCodesstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.