Users

Deletes one of the authenticated user's own passkeys. The request body carries a WebAuthn assertion from the passkey being deleted, so possession of the credential is proven before it is removed: mint a deletion challenge for it first, run the ceremony with that passkey, and send the result here. Deleting the user's last passkey is allowed — their other step-up factors remain. Requires a user session.

delete/users/me/passkeys/{id}

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string required

Passkey ID, prefixed wcred_.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Request body

object required
authenticator_data, string required

The authenticatorData from the WebAuthn assertion, base64url-encoded.

client_data_json, string required

The clientDataJSON from the WebAuthn assertion, base64url-encoded.

signature, string required

The signature from the WebAuthn assertion, base64url-encoded.

Example request

{
  "authenticator_data": "YXV0aGVudGljYXRvci1kYXRh",
  "client_data_json": "Y2xpZW50LWRhdGE",
  "signature": "c2lnbmF0dXJl"
}

Response

passkey deleted

object required
deleted, boolean required

Always true: the passkey was removed.

id, string required

The ID of the deleted passkey.

Example response

{
  "deleted": true,
  "id": "wcred_xxxxxxxxxxxxxx"
}

Changes

    • info

      added the optional property error/code to the response with the status

    • info

      added the optional property error/code to the response with the status

    • info

      added the optional property error/code to the response with the status

    1 more change in this revision