---
title: "Deactivate club roster player"
method: POST
path: "/api/admin/teams/{teamId}/roster/{playerId}/deactivate"
tags: ["Admin", "Teams"]
---

# Deactivate club roster player

`POST /api/admin/teams/{teamId}/roster/{playerId}/deactivate`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/admin/teams/{teamId}/roster/{playerId}/deactivate`
- Auth: HTTP bearer

Same canManageTeam gate. Shortcut for status departed: isActive false, rosterStatus departed, departedAt today (UTC) when empty, rosterProvenance club. Empty body. The row stays. A vendor provider already on the row is not overwritten.

## Path parameters

- `teamId` string, required
- `playerId` string, required

## Response `200`

{ success, data: { id, isActive: false, status: departed, signedAt, departedAt } }

## Other responses

- `401`: { success: false, error, code: UNAUTHORIZED }
- `403`: { success: false, error, code: FORBIDDEN }
- `404`: Player or 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/admin/teams/:teamId/roster/:playerId/deactivate/post.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)
