Admin
Teams

Apply club roster CSV import

Changed on

Same canManageTeam gate and the same body as preview. Writes only when errors is empty. Adds and updates set rosterProvenance club. Active players missing from the file are deactivated (isActive false, status departed), never deleted. One transaction; a unique-name collision rolls back and returns 409.

post/api/admin/teams/{teamId}/roster/import

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Path parameters

teamIdstring required

Request body

csvstring required

Response

{ success, data: { added, updated, deactivated } }

Changes