---
title: "Update a sequence item position"
method: PUT
path: "/v1/sequences/{sequence_id}/items/{item_id}/position/"
---

# Update a sequence item position

`PUT /v1/sequences/{sequence_id}/items/{item_id}/position/`

## Request

- Base URL: `https://app.iconik.io/API/assets`
- URL: `https://app.iconik.io/API/assets/v1/sequences/{sequence_id}/items/{item_id}/position/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-assets/docs/v1/sequences/:sequence_id/items/:item_id/position/put.ts> (a function with typed inputs; its response is checked against the schema)

Required roles:
 - can_add_sequence_items

## Path parameters

- `sequence_id` string, required
- `item_id` string, required

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Request body

- SequenceItemUpdatePositionSchema
  - `position` integer: New position of the item in the sequence.If not provided, the item will be appended to the end of the sequence

## Response `200`

Returns an updated item

- SequenceItemSchema
  - `id` string, uuid
  - `object_id` string, uuid, required
  - `object_type` 'assets' | 'collections', required
  - `position` integer: Position of the item in the sequence.If not provided, the item will be appended to the end of the sequence
  - `version_id` string, uuid

## Other responses

- `400`: Bad request
- `401`: Token is invalid
- `404`: Sequence does not exist
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-assets.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-assets/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-assets/revisions/62580d9e640e?raw)
