Move lineup players
set_lineupMove rostered players to eligible slots (QB, FLEX, BE, IR) in your ESPN fantasy football lineup. Preview moves with dryRun before posting to avoid mistakes.
Instructions
Move rostered players to eligible slots such as QB, FLEX, BE or IR. List every move, including the player leaving an occupied slot. No counter-moves are added. Player ids are ESPN ids, including negative D/ST ids. teamId is an ESPN fantasy team id and defaults to ESPN_TEAM_ID. week defaults to the current NFL week. dryRun previews the payload without posting. Requires ESPN_S2 and ESPN_SWID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | No | NFL scoring week, defaults to the league's current scoringPeriodId. | |
| moves | Yes | ||
| dryRun | No | Preview the payload without posting it to ESPN. | |
| teamId | No | ESPN fantasy team id, defaults to ESPN_TEAM_ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | Yes | ||
| result | No | ||
| payload | Yes |