cURL
curl --request POST \ --url {schemes}://api.upsun.com/users/{user_id}/codes \ --header 'Authorization: Bearer <token>'
{ "recovery_codes": [ "<string>" ] }
Re-creates recovery codes for the MFA enrollment.
The ID of the user.
"d81c8ee2-44b3-429f-b944-a33ad7437690"
Created
A list of recovery codes for the MFA enrollment.