Teams

Update custom formation

Changed on

Last-write-wins partial update - any of sport, name, presetKey, slots (#847). Renames keep per-sport uniqueness; moves to a full sport fail with CUSTOM_FORMATION_LIMIT.

patch/api/me/custom-formations/{id}

Request

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

Path parameters

idstring required

Request body

sportstring
namestring
presetKeystring
slotsobject

Record<slotKey, slot layout> - opaque to the backend, at most 30 entries.

Response

{ success, data: formation }

Changes