| Variable | Description |
|---|---|
leagueId | The unique ID of the league for which the lineup is being set. |
| Key | Value |
|---|---|
Content-Type | application/json |
Accept | application/json |
| Field | Type | Description |
|---|---|---|
type | string | The formation type for the lineup (e.g. "4-4-2", "4-3-3"). |
players | array | An array of player IDs (strings) to include in the lineup. |
{
"type": "4-4-2",
"players": ["1235"]
}Authorization: Bearer ********************curl --location --globoff 'https://api.kickbase.com/v4/leagues//lineup' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"type": "4-4-2",
"players": [
"1235"
]
}'{}