Skip to content

Issue a passkey re-enrolment link

POST
/api/v1/auth/passkeys/reenrol/issue
curl --request POST \
--url https://example.com/api/v1/auth/passkeys/reenrol/issue \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "ttl_secs": 1, "user_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'

Issues a passkey re-enrolment link. It requires a signed-in User with the admin scope and the admin or owner Role. It also requires a recent passkey check. It can return 401 if the session is missing or expired, 403 if access is denied and 429 if the request limit is reached. Route: /api/v1/auth/passkeys/reenrol/issue. Inputs: . A recent account assertion is required. Do not automatically replay this operation after an uncertain result.

Media typeapplication/json
object
ttl_secs
required
integer format: int64
user_id
required
string format: uuid
Examplegenerated
{
"ttl_secs": 1,
"user_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}
Media typeapplication/json
object
token
required
string
url
required
string
Examplegenerated
{
"token": "example",
"url": "example"
}
Media typeapplication/json
object
code
required
string
message
required
string
Examplegenerated
{
"code": "example",
"message": "example"
}