---
title: "Reassign asset grouping"
method: PUT
path: "/api/asset-grouping/{old_grouping}/reassign"
tags: ["Asset Groupings"]
---

# Reassign asset grouping

`PUT /api/asset-grouping/{old_grouping}/reassign`

## 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/asset-grouping/{old_grouping}/reassign`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/asset-grouping/:old_grouping/reassign/put.ts> (a function with typed inputs; its response is checked against the schema)

Moves all items from one asset grouping to another

## Path parameters

- `old_grouping` integer, required

## Request body

- AssetGroupingReassignRequest
  - `new_grouping` integer

## Response `200`

The reassign was successfully.

- AssetGroupingResource
  - `id` integer
  - `name` string
  - `icon` string
  - `media_order` integer
  - `subgroupings_count` 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)
