Add and/or drop a player
add_drop_playerAdd a free agent, drop a rostered player, or execute both actions at once on your Yahoo Fantasy Baseball roster. Confirm players before use.
Instructions
DESTRUCTIVE: modifies your real Yahoo roster. Adds a free agent, drops a rostered player, or does both at once. Provide addPlayerKey to add, dropPlayerKey to drop, or both for a simultaneous add/drop. Player keys look like 431.p.10642. Defaults to your configured team. Always confirm the players with the user before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Set to true to attempt the action even though write access is not officially supported | |
| teamKey | No | Team key; defaults to configured team | |
| addPlayerKey | No | Player key to ADD (free agent), e.g. 431.p.10642 | |
| dropPlayerKey | No | Player key to DROP from your roster |