Issue a passkey re-enrolment link
POST
/api/v1/auth/passkeys/reenrol/issue
const url = 'https://example.com/api/v1/auth/passkeys/reenrol/issue';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"ttl_secs":1,"user_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”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"}Responses
Section titled “Responses”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"}