Skip to content

Reorder Collections

Updates the display order of collections in the admin sidebar.

POST /api/projects/{projectId}/collections/reorder

Request body

Pass an array of collection slugs in the desired order:

{
"slugs": ["pages", "posts", "products", "categories"]
}

Status codes

StatusDescription
200Reordered
422Invalid slugs