Responses

  • 200 application/json

    Recovery codes

    Hide response attribute Show response attribute object
    • recovery_codes array[string]
  • 401

    Unauthorized

POST /2fa/recovery-codes
curl \
 --request POST 'http://localhost:8080/2fa/recovery-codes' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "recovery_codes": [
    "string"
  ]
}