Updates an existing unavailable event. Only the artist who created the event can edit it.
cURL
curl --request PUT \ --url http://localhost:3000/api/unavailable-events/edit-unavailable-event \ --header 'Content-Type: application/json' \ --data ' { "id": "<string>", "title": "<string>", "date": 123, "startTime": 123, "endTime": 123 } '
{ "success": true, "message": "<string>" }
ID of the unavailable event to edit
Title for the unavailable event
Date timestamp
Start time timestamp
End time timestamp (must be after start time)
Unavailable event updated successfully
Whether the operation was successful
Success message