Creates an unavailable time slot for an artist
cURL
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>" }
Date timestamp
Start time timestamp
End time timestamp
ID of the artist
Optional title for the unavailable event
Unavailable event created successfully