Skip to content
Reviactyl v26 has been released!
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Passkey

Return passkeys owned by the authenticated user

get
Responses
200Success
application/json
get/account/passkeys
GET /api/client/account/passkeys HTTP/1.1
Host: reviactyl.test
Accept: */*
200Success
{
  "data": [
    {
      "id": "text",
      "name": "text",
      "authenticator": "text",
      "created_at": null,
      "updated_at": null
    }
  ]
}

Delete a passkey from the current account

post
Body
passwordstringRequired
Responses
204

No content

application/json
string[]Optional
post/account/passkeys/remove
POST /api/client/account/passkeys/remove HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "password": "text"
}
[
  "text"
]

Delete a passkey from the current account

delete
Path parameters
idstring · nullableRequiredDefault: null
Query parameters
passwordstringRequired
Responses
204

No content

application/json
string[]Optional
delete/account/passkeys/{id}
DELETE /api/client/account/passkeys/{id}?password=text HTTP/1.1
Host: reviactyl.test
Accept: */*
[
  "text"
]

Build registration options for a new passkey

post
Body
passwordstringRequired
Responses
200Success
application/json
Other propertiesanyOptional
post/account/passkeys/register/options
POST /api/client/account/passkeys/register/options HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "password": "text"
}
{
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Save a newly registered passkey

post
Body
namestring · max: 255Required
Responses
204

No content

application/json
string[]Optional
post/account/passkeys/register
POST /api/client/account/passkeys/register HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 97

{
  "name": "text",
  "credential": {
    "id": "text",
    "rawId": "text",
    "type": "public-key",
    "response": [
      "text"
    ]
  }
}
[
  "text"
]

Last updated

Was this helpful?