---
title: "Reorder all slides"
method: PATCH
path: "/projects/{slug}/slides"
tags: ["Slides"]
---

# Reorder all slides

`PATCH /projects/{slug}/slides`

Reorder every slide in a project in a single atomic call. The request body's slideIds array must contain exactly the project's existing slide IDs (no duplicates, no missing, no extras), in the desired final order. Both the persisted project state and the live editor view end up in the same order.

## Path parameters

- `slug` string, required

## Request body

- object
  - `slideIds` string[], required — Full ordered list of every existing slide ID, in the desired final order. Must equal the set of IDs currently in the project.

## Response `200`

Slides reordered

- object
  - `slideIds` string[], required — The new order of slide IDs in the project.
  - `versionId` string, required — The new project version ID.

## Other responses

- `400` — Validation error
- `404` — Project not found

---

[API](https://skmtc.dev/faces/apis/faces-api.md) · [All operations](https://skmtc.dev/faces/apis/faces-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/faces/faces-api/revisions/83197d741969/schema)
