---
title: "Update league items"
method: PUT
path: "/api/league-items/league/{id}/update-items"
tags: ["LeagueItems"]
---

# Update league items

`PUT /api/league-items/league/{id}/update-items`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/league-items/league/{id}/update-items`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/league-items/league/:id/update-items/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates the item/asset associations for a specific league

## Path parameters

- `id` integer, required

## Request body

- LeagueItemsUpdateLeagueItemsRequest
  - `items` object[]
    - `item_id` integer
    - `is_key_asset` integer
  - `search` string

## Response `200`

The items for the given League.

- object[]
  - `item_id` integer
  - `is_key_asset` integer

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
