Saltar al contenido principal
POST
Finish Passkey Enrollment

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

id
string
requerido

Caller's own User ID.

Ejemplo:

"00000000-0000-0000-0000-000000000000"

Cuerpo

application/json

The enrollment token and the credential the browser created.

credential
any
requerido

The PublicKeyCredential navigator.credentials.create returned, serialized as JSON (PublicKeyCredential.toJSON()).

enrollmentToken
string
requerido

The enrollmentToken POST /v1/users/{id}/passkeys/begin answered.

Ejemplo:

"Zm9vYmFyLWVucm9sbG1lbnQtdG9rZW4tZXhhbXBsZQ"

Respuesta

OK

registered
boolean
requerido

True when the passkey was added.

Ejemplo:

true