Skip to main content
PUT
/
api
/
decks
/
{deckId}
Update a deck
curl --request PUT \
  --url https://app.demand-iq.com/api/decks/{deckId} \
  --header 'Content-Type: application/json' \
  --cookie session= \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "type": "structured",
  "isActive": true,
  "deckContext": "<string>"
}
'
{}

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
name
string
description
string | null
type
enum<string>
Available options:
structured,
image-based
isActive
boolean
deckContext
string | null

Response

Updated deck

deck
object