Delete User WebAuthn Credential

DELETE /v1/auth/users/webauthn_credentials/{webauthn_credential_id}/delete

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

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • message string Required

      Success message of the action.

      Minimum length is 1.

    • user_id string Required

      Unique User ID associated with the deleted WebAuthn credential.

      Minimum length is 1.

DELETE /v1/auth/users/webauthn_credentials/{webauthn_credential_id}/delete
curl \
 -X DELETE https://api.streambird.io/v1/auth/users/webauthn_credentials/{webauthn_credential_id}/delete \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "user_id": "user_24wFP9pDa9YiMJLun94iKykoZs2",
  "message": "Successfully deleted user WebAuthn credential"
}