generate Two Factor Recovery Codes With Id

POST {{baseUrl}}/api/user/two-factor/recovery-code/:userId

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

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"recoveryCodes":["\u003cstring\u003e","\u003cstring\u003e"]}