---
title: "Reorder assets in collection"
method: PATCH
path: "/api/v1/collections/{collectionH}/assets/reorder"
tags: ["Collections"]
---

# Reorder assets in collection

`PATCH /api/v1/collections/{collectionH}/assets/reorder`

## Request

- Base URL: `https://numonic.ai`
- URL: `https://numonic.ai/api/v1/collections/{collectionH}/assets/reorder`
- Auth: API key in header `x-api-key`

Update the display order of assets within a collection.

## Path parameters

- `collectionH` string, required: Collection hash (40-char hex SHA-1)

## Request body

- ReorderAssetsRequest: Request body for reordering assets within a collection
  - `positions` object[], required
    - `asset_h` string, required
    - `position` integer, required

## Response `200`

Assets reordered

- SuccessMessage
  - `message` string, required: Human-readable success message

## Other responses

- `404`: Collection not found

---

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