Auth

Remove a passkey from the current user

post/auth/security/passkeys/{passkey_id}/remove

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/auth/security/passkeys/{passkey_id}/remove
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Path parameters

passkey_idstring required

Passkey ID

Request body

$schemastring uri

A URL to the JSON Schema for this object.

current_passwordstring required

Current password for re-authentication

reauth_grantstring

One-time action-bound reauthentication grant

Example request

{
  "$schema": "https://example.com/api/v1/schemas/RemovePasskeyInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

methodsstring[] nullable required

Currently available MFA methods

totp_enabledboolean required

Whether authenticator-based 2FA is enabled

Example response

{
  "$schema": "https://example.com/api/v1/schemas/SecurityStatusOutputBody.json",
  "user": {
    "$schema": "https://example.com/api/v1/schemas/UserProfile.json"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.