Start removing a passkey
POST
/api/v1/auth/passkeys/remove/start/{id}
const url = 'https://example.com/api/v1/auth/passkeys/remove/start/example';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
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/remove/start/example \ --header 'Authorization: Bearer <token>'Starts removing a passkey. It requires a signed-in User with the account scope. 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/remove/start/{id}. Inputs: id. Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
URL-safe base64 credential id from GET /auth/passkeys
Responses
Section titled “Responses”Fresh assertion challenge
Media typeapplication/json
object
code
required
string
message
required
string
Examplegenerated
{ "code": "example", "message": "example"}