Skip to main content
PUT
/
flash
/
mark-as-unavailable
Mark Flash as Unavailable
curl --request PUT \
  --url http://localhost:3000/api/flash/mark-as-unavailable \
  --header 'Content-Type: application/json' \
  --data '
{
  "flashIds": [
    "<string>"
  ]
}
'
{
  "success": true,
  "updatedCount": 123
}

Body

application/json
flashIds
string[]
required

Array of flash listing IDs to mark as unavailable

Response

Flash listings marked as unavailable successfully

success
boolean
required

Whether the operation was successful

updatedCount
number
required

Number of flash listings updated