---
title: "Delete Baselines"
method: DELETE
path: "/api/v1/biomech/baselines"
tags: ["Biomech"]
---

# Delete Baselines

`DELETE /api/v1/biomech/baselines`

Delete complete player baselines or selected metric/frame rows.

## 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

- BiomechBaselinesDeleteRequest
  - `players` PlayerRef[], nullable
    - `player_id` string, nullable — Canonical player_id
    - `alias` string, nullable — Pitchbio player alias, for example pitcher_001
  - `frames` BiomechBaselineFrameDeleteTarget[], nullable
    - `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
    - `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
    - `frame` integer, required

## Response `200`

Successful Response

- union
  - BiomechBaselinesDeleteResponse
    - `success` boolean, required
    - `players_deleted` integer, required
    - `player_ids` string[], required
  - BiomechBaselineFramesDeleteResponse
    - `success` boolean, required
    - `frames_deleted` integer, required
    - `frames` BiomechBaselineFrameDeleteItem[], required
      - `player_id` string, 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
      - `frame` integer, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-03** `24ef9111adac` — 4 breaking, 4 info
  - the response's body type changed from `object` to no type for status `200`
  - removed the required property `player_ids` from the response with the `200` status
  - removed the required property `players_deleted` from the response with the `200` status
  - removed the required property `success` from the response with the `200` status
  - …4 more
- **2026-08-27** `9b0abde08b06` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/preciser/apis/preciser-data-management-api/changes/api/v1/biomech/baselines/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/24ef9111adac/schema)
