Skip to main content
Create Unavailable Event
curl --request POST \
  --url http://localhost:3000/api/unavailable-events/create-unavailable-event \
  --header 'Content-Type: application/json' \
  --data '
{
  "date": 123,
  "startTime": 123,
  "endTime": 123,
  "artistId": "<string>",
  "title": "<string>"
}
'
{
  "success": true,
  "eventId": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.traza.com.au/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
date
number
required

Date timestamp

startTime
number
required

Start time timestamp

endTime
number
required

End time timestamp

artistId
string
required

ID of the artist

title
string

Optional title for the unavailable event

Response

Unavailable event created successfully

success
boolean
eventId
string