Skip to content

Delete WebAuthn Key

DELETE
/api/v1/webauthn/{keyName}
curl --request DELETE \
--url https://api.spartanauth.com/api/v1/webauthn/example

Removes a registered WebAuthn credential from the authenticated user’s account by key name. Requires a valid bearer token.

keyName
required
string

A successful response.

Media type application/json
object
status
string
message
string
Example generated
{
"status": "example",
"message": "example"
}

An unexpected error response.

Media type application/json
object
code
integer format: int32
message
string
details
Array<object>
object
@type
string
key
additional properties
Example generated
{
"code": 1,
"message": "example",
"details": [
{
"@type": "example"
}
]
}