Recovers a user, using a recovery credential. After successfully recovering the user, all of the user's previous credentials and personal access tokens will be invalidated.
Request headers required. See Request Headers for more information.
Temporary authentication token required. See Registration Headers for more information.
Required Permissions
Since this endpoint is not authenticated, the permissions apply to the application only.
Name
Conditions
Auth:Users:Create
Always Required
Auth:Types:Employee
When kind is CustomerEmployee
Auth:Types:EndUser
When kind is EndUser
Request body
recovery*
Object
a signature of the user's new credentials, using the user's recovery credential, that proves the user initiated the recovery request
recovery.kind*
String
will always be RecoveryKey
recovery.credentialAssertion*
Object
recovery.credentialAssertion.credId*
String
base64url encoded id of the recovery credential
recovery.credentialAssertion.clientData*
String
base64url encoded Client Data JSON string object that was signed with the user's private key
recovery.credentialAssertion.signature*
String
base64url encoded signature generated by signing the clientData JSON string object
newCredentials*
Object
the new credentials being assigned to the user
newCredentials.firstFactorCredential*
Object
new first factor credential that the user is registering
newCredentials.secondFactorCredential
Object
Optional new second factor credential that the user is registering
newCredentials.recoveryCredential
Object
Optional new recovery credential that can be used to recover the user's account
Fido2 Credential
credentialKind*
String
will always be Fido2
credentialInfo*
Object
credentialInfo.credId*
String
base64url encoded id of the credential
credentialInfo.clientData*
String
base64url encoded client data object. The underlying object is the clientData object returned by the user's WebAuthn client
credentialInfo.attestationData*
String
base64url encoded attestation data object. The underlying object is the attestationData object returned by the user's WebAuthn client