Delete User WebAuthn Credential
Delete a WebAuthn credential from the associated user.
HTTP Request
DELETE /v1/auth/users/webauthn_credentials/{webauthn_credential_id}/delete
Returns
A successful response returns an object with user_id
property.
Path parameters
-
webauthn_credential_id
string Required Unique ID of the WebAuthn credential to be deleted.
DELETE
/v1/auth/users/webauthn_credentials/{webauthn_credential_id}/delete
curl \
--request DELETE 'https://api.streambird.io/v1/auth/users/webauthn_credentials/{webauthn_credential_id}/delete' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"message": "Successfully deleted user WebAuthn credential",
"user_id": "user_24wFP9pDa9YiMJLun94iKykoZs2"
}