Events
Update special event
Update the details of a special event.
Authorization
MuseumPlaceholderAuth AuthorizationBasic <token>
In: header
Path Parameters
eventId*string
Identifier for a special event.
Format
uuidRequest Body
application/json
name?string
Name of the special event.
location?string
Location where the special event is held.
eventDescription?string
Description of the special event.
dates?array<>
List of planned dates for the special event.
price?number
Price of a ticket for the special event.
Format
floatResponse Body
application/json
application/problem+json
application/problem+json
curl -X PATCH "https://redocly.com/_mock/docs/openapi/museum-api/special-events/dad4bce8-f5cb-4078-a211-995864315e39" \ -H "Content-Type: application/json" \ -d '{ "location": "On the beach.", "price": 15 }'{
"eventId": "dad4bce8-f5cb-4078-a211-995864315e39",
"name": "Mermaid Treasure Identification and Analysis",
"location": "On the beach.",
"eventDescription": "Join us as we review and classify a rare collection of 20 thingamabobs, gadgets, gizmos, whoosits, and whatsits, kindly donated by Ariel.",
"dates": [
"2023-09-05",
"2023-09-08"
],
"price": 15
}{
"type": "object",
"title": "Validation failed"
}{
"type": "object",
"title": "Validation failed"
}