Generate single-use recovery codes for a user
POST/v2/users/:userId/recovery_codes
Generate new single-use recovery codes for the authenticated user. Recovery codes can be used to recover access to the account if other second factors are not available.
Request​
Responses​
- 200
- 400
- 401
- 403
- default
OK
The request is malformed.
Returned when the user is not authenticated.
Returned when the user does not have permission to access the resource.
An unexpected error response.