---
title: "Delete Historical Stats"
method: DELETE
path: "/api/v1/biomech/historical-stats"
tags: ["Biomech"]
---

# Delete Historical Stats

`DELETE /api/v1/biomech/historical-stats`

Delete historical stat rows by their complete composite identity.

## Headers

- `x-api-key` string, required — Required API key issued by Preciser.
- `League` string, required — Required tenant/database selector, for example pitchbio-master.

## Request body

- BiomechHistoricalStatsDeleteRequest
  - `stats` BiomechHistoricalStatKey[], required
    - `player` PlayerRef, required — Reference a player either by canonical player_id or pitchbio alias.
      - `player_id` string, nullable — Canonical player_id
      - `alias` string, nullable — Pitchbio player alias, for example pitcher_001
    - `stage` 'fp' | 'mer' | 'br', required
    - `metric` 'shoulder_abduction' | 'shoulder_horizontal_abduction' | 'shoulder_external_rotation' | 'elbow_flexion' | 'left_hip_flexion' | 'right_hip_flexion' | 'left_knee_flexion' | 'right_knee_flexion' | 'stride_length' | 'pelvis_rotation' | 'torso_rotation' | 'hip_shoulder_separation' | 'elbow_varus_torque' | 'trunk_anterior_tilt' | 'trunk_lateral_tilt', required
    - `captured_at` string, date-time, nullable
    - `pitch_id` string, nullable

## Response `200`

Successful Response

- BiomechHistoricalStatsDeleteResponse
  - `success` boolean, required
  - `rows_deleted` integer, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-27** `9b0abde08b06` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/preciser/apis/preciser-data-management-api/changes/api/v1/biomech/historical-stats/delete.md)

---

[API](https://skmtc.dev/preciser/apis/preciser-data-management-api.md) · [All operations](https://skmtc.dev/preciser/apis/preciser-data-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/preciser/preciser-data-management-api/revisions/9b0abde08b06/schema)
