Admin
Teams
Change club roster membership status
Changed onSame canManageTeam gate. Changes status without resending the rest of the player. departed sets isActive false and, when departedAt is omitted and unset, fills departedAt with today (UTC). signed, tryout, loan, and injured set isActive true. Leaving departed clears departedAt unless the body sends one. Date keys are optional; omit a key to leave that date unchanged, or send null to clear it. Sets rosterProvenance to club. Never deletes the row.
patch/api/admin/teams/{teamId}/roster/{playerId}/status
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Path parameters
teamIdstring required
playerIdstring required
Request body
Response
{ success, data: { id, isActive, status, signedAt, departedAt } }
Changes
- info
endpoint added
- info