Skip to content

Delete one current user's passkey.

DELETE
/api/account/passkeys/{id}
Code sample: Shell / cURL
curl --request DELETE \
--url https://auth.example.com/api/account/passkeys/example \
--cookie authrim_session=<authrim_session>

Deletes a passkey owned by the authenticated Account Page user. Recent authentication is required, and at least one other login method must remain (another passkey, or a verified email, TOTP authenticator or linked external account the tenant lets sign in). Answers 409 operation_in_progress while another removal of the account’s sign-in methods runs.

id
required
string

Account Page passkey delete response.

Media type application/json
object
ok
required
boolean
passkey
required
object
id
required
string
deleted
required
boolean
webauthn_signal

Best-effort WebAuthn Signal API data for authenticated Account Page browser sessions. Credential IDs are exposed only in this authenticated self-service response and are intended for PublicKeyCredential.signalAllAcceptedCredentials().

object
rp_id
required
string
user_id
required

Base64url-encoded WebAuthn user handle.

string
credential_ids
required

Base64url-encoded credential IDs accepted by the server for this user.

Array<string>
Example
{
"webauthn_signal": {
"rp_id": "login.example.com",
"user_id": "dXNlci0xMjM"
}
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
error_code

Stable Authrim error category that can be provided to support.

string
/^AR[0-9]{6}$/
error_id

Opaque occurrence identifier that can be provided to support for correlation.

string format: uuid
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example",
"error_code": "example",
"error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
error_code

Stable Authrim error category that can be provided to support.

string
/^AR[0-9]{6}$/
error_id

Opaque occurrence identifier that can be provided to support for correlation.

string format: uuid
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example",
"error_code": "example",
"error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
error_code

Stable Authrim error category that can be provided to support.

string
/^AR[0-9]{6}$/
error_id

Opaque occurrence identifier that can be provided to support for correlation.

string format: uuid
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example",
"error_code": "example",
"error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
error_code

Stable Authrim error category that can be provided to support.

string
/^AR[0-9]{6}$/
error_id

Opaque occurrence identifier that can be provided to support for correlation.

string format: uuid
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example",
"error_code": "example",
"error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
error_code

Stable Authrim error category that can be provided to support.

string
/^AR[0-9]{6}$/
error_id

Opaque occurrence identifier that can be provided to support for correlation.

string format: uuid
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example",
"error_code": "example",
"error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}