---
title: "Clear team official lineup"
method: DELETE
path: "/api/teams/{id}/lineup"
tags: ["Teams"]
---

# Clear team official lineup

`DELETE /api/teams/{id}/lineup`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/teams/{id}/lineup`
- Auth: HTTP bearer

Removes the official lineup; reads revert to the roster-derived fallback (#847). Same managers as PUT. Idempotent.

## Path parameters

- `id` string, required

## Response `200`

{ success, data: { teamId, cleared } }

## Other responses

- `401`: Authentication required
- `403`: FORBIDDEN
- `404`: Team not found

## Changes

- **2026-11-18** `6de639c52609`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/teams/:id/lineup/delete.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
