Skip to main content
PUT
/
admin
/
v1
/
networks
/
{network_id}
/
collections
/
{id}
/
order
Reorder spaces within a collection
curl --request PUT \
  --url https://api.mn.co/admin/v1/networks/{network_id}/collections/{id}/order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "spaces": [
    {
      "space_id": 123,
      "position": 1
    }
  ]
}
'
{
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer<uint64>
required

ID of the collection

network_id
required

The Network's unique integer ID, or subdomain Unique numeric network ID

Query Parameters

page
integer<uint64>

Page number for pagination

per_page
integer<uint64>

Items per page (max 100)

Body

application/json

Submit results as JSON

Request to reorder spaces within a collection

spaces
object[]
required

Array of space position assignments

Response

The updated list of spaces with their positions