# Event Flights Operations related to the Flights for an event. Each leaderboard has its own set of flights which can be used for the following: 1. Segment your leaderboards into groups by Handicap, Age, Course, etc.... 2. Determine if players or teams are participating in a Leaderboard. If a leaderboard has flights defined, a player or team is not assigned to a flight, then they are not participating in that leaderboard and will not show up in the standings or results for that leaderboard. ** Are Flights Required?** Single round events contain a setting to enable or disable flights, currently ALL multi-round events require flights, although this option is targeted to be added in the future. **Players:** Players must be signed up for the event to be assigned to a flight. ## Assign player - [POST /v1/events/{eventId}/flights/{flightId}/players/{playerId}](https://api-docs.unknowngolf.com/ug-api/event-flights/assignplayer.md): Assign the player to the Flight for the Leaderboard. If this is a team leaderboard use the "Assign team" endpoint. ## Remove player - [DELETE /v1/events/{eventId}/flights/{flightId}/players/{playerId}](https://api-docs.unknowngolf.com/ug-api/event-flights/removeplayer.md): Remove the player from the Flight for the Leaderboard. If this is a team leaderboard use the "Remove team" endpoint. ## Assign team - [POST /v1/events/{eventId}/flights/{flightId}/teams/{teamId}](https://api-docs.unknowngolf.com/ug-api/event-flights/assignteam.md): Assign the team to the Flight for the Leaderboard. ## Remove team - [DELETE /v1/events/{eventId}/flights/{flightId}/teams/{teamId}](https://api-docs.unknowngolf.com/ug-api/event-flights/removeteam.md): Remove the team from the Flight for the Leaderboard. ## Delete flight - [DELETE /v1/events/{eventId}/flights/{flightId}](https://api-docs.unknowngolf.com/ug-api/event-flights/deleteflight.md): Delete the Flight ## List all flights - [GET /v1/events/{eventId}/flights](https://api-docs.unknowngolf.com/ug-api/event-flights/list_1.md): List of flights for the Event ## Delete all flights - [DELETE /v1/events/{eventId}/flights](https://api-docs.unknowngolf.com/ug-api/event-flights/deleteflightall.md): Delete the Flights for the Event or for a specific leaderboard if the leaderboardId is included. ## List flights for leaderboard - [GET /v1/events/{eventId}/flights/leaderboards/{leaderboardId}](https://api-docs.unknowngolf.com/ug-api/event-flights/listleaderboard.md): List of flights for a leaderboard of an Event including the Teams (if a Team Leaderboard) or Players (if a NOT a team Leaderboard) ## List players unassigned - [GET /v1/events/{eventId}/flights/leaderboards/{leaderboardId}/unassigned/players](https://api-docs.unknowngolf.com/ug-api/event-flights/listunassignedplayers.md): List of players that are unassigned to a flight for this leaderboard. ## List teams unassigned - [GET /v1/events/{eventId}/flights/leaderboards/{leaderboardId}/unassigned/teams](https://api-docs.unknowngolf.com/ug-api/event-flights/listunassignedteams.md): List of teams that are unassigned to a flight for this leaderboard.