Admin
Teams
Apply club roster CSV import
Changed onSame 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 URLhttps://app.d-sports.org
- AuthHTTP bearer
Path parameters
teamIdstring required
Request body
Response
{ success, data: { added, updated, deactivated } }
Changes
- info
endpoint added
- info