Pular para o conteúdo principal
POST
Finish Passkey Enrollment

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

id
string
obrigatório

Caller's own User ID.

Exemplo:

"00000000-0000-0000-0000-000000000000"

Corpo

application/json

The enrollment token and the credential the browser created.

credential
any
obrigatório

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

enrollmentToken
string
obrigatório

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

Exemplo:

"Zm9vYmFyLWVucm9sbG1lbnQtdG9rZW4tZXhhbXBsZQ"

Resposta

OK

registered
boolean
obrigatório

True when the passkey was added.

Exemplo:

true