League

Update a league.

Updates a league and, when date fields are provided, batch-updates the dates across all of its seasons. Also syncs assistants, divisions and rejected companies, and reorders sibling leagues.

put/api/league/{league}

Request

Path parameters

leagueinteger required

League ID.

Request body

namestring nullable

League name.

short_namestring nullable

League short name.

currencystring nullable

ISO currency code.

is_continuousboolean

Whether the league runs continuously (no fixed season window). Accepts true/false or 1/0; null is not accepted.

logo_urlstring nullable

URL of the league logo image.

website_urlstring nullable

League website URL.

sport_idinteger nullable

Associated sport ID.

owner_idinteger nullable

League owner user ID.

scouting_priorityinteger nullable

Scouting priority.

platforms_scoutedinteger nullable

Number of platforms scouted.

times_scouted_per_yearinteger nullable

Times scouted per year.

genre_idinteger nullable

Genre ID.

subgenre_idinteger nullable

Subgenre ID.

notesstring nullable

Free-text notes.

assistantsinteger[]

User IDs to assign as league assistants.

divisionsobject[]

League divisions to sync.

orderinteger

Display order within its genre/subgenre group.

separator_textstring nullable

Separator label used in listings.

release_datestring nullable

Season release date (MM/DD); applied across the league's seasons.

start_datestring nullable

Season start date (MM/DD); applied across the league's seasons.

end_datestring nullable

Season end date (MM/DD); applied across the league's seasons.

social_start_datestring nullable

Social scraping start date (MM/DD); applied across the league's seasons.

social_end_datestring nullable

Social scraping end date (MM/DD); applied across the league's seasons.

Response

The updated league with its seasons, rejected companies, notes and assistants.

Changes

No recorded changes to this operation across all 2 revisions of this API.