Skip to main content
PUT
/
api
/
decks
/
{deckId}
/
slides
/
reorder
Reorder slides
curl --request PUT \
  --url https://app.demand-iq.com/api/decks/{deckId}/slides/reorder \
  --header 'Content-Type: application/json' \
  --cookie session= \
  --data '
{
  "slideIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "success": true
}

Authorizations

session
string
cookie
required

Session cookie obtained from POST /api/auth/login.

Path Parameters

deckId
string<uuid>
required

UUID of the deck

Body

application/json
slideIds
string<uuid>[]
required

Full ordered array of slide UUIDs. Position in array becomes the new orderIndex.

Response

Slides reordered

success
boolean