Skip to main content
POST
Reorder a collection/page

Authorizations

Authorization
string
header
required

Default authentication mechanism

Path Parameters

team_slug
string
required

The slug of the team.

workspace_slug
string
required

The slug of the workspace.

Body

application/json

Reorder a collection/page.

id
string
required

The id of the collection/page to reorder.

index
number
required

The index to move the collection to.

parent
string

The parent collection/page id.

newParent
string

The new parent collection/page id.

object
any

Object describes the type of the collection/page . Collections will be of type 'collection' and pages will be of type 'item'.

Response

The created collection/page

message
string
default:""
required