Skip to main content
POST
/
users
/
{user_id}
/
codes
Error
A valid request URL is required to generate request examples
{
  "recovery_codes": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

user_id
string<uuid>
required

The ID of the user.

Example:

"d81c8ee2-44b3-429f-b944-a33ad7437690"

Response

Created

recovery_codes
string[]

A list of recovery codes for the MFA enrollment.

Last modified on March 25, 2026