Get a recovery code credential
GET/nevisidm/api/core/v1/:clientExtId/users/:userExtId/recovery-codes
Since: 2.78.0
Required permission(s): AccessControl.CredentialView or SelfAdmin Role
Returns the recovery code credential of the user with the given external ID, belonging to the specified client. The response includes all 16 recovery codes with their usage status, credential metadata, state information, and login statistics.
Supports self-admin mode with JWT token validation, allowing a user to retrieve their own recovery code credential.
Request
Responses
- 200
- 403
- 404
- 422
Recovery code credential found
Insufficient permissions
Referenced resource not found
Invalid request parameters