Events (Admin)
Update meeting spot (Admin)
PUT
/manage/events/:eventId/meeting-spots/:spotIdUpdate a meeting spot. Requires the meetingSpotsWrite permission.
| Auth | Login required |
|---|
Path parameters
eventIdstringrequiredEvent ID or slug.
spotIdstringrequiredMeeting spot ID.
Request body
namestringoptionalSpot name. Up to 100 characters (surrounding whitespace is trimmed).
descriptionstringoptionalDescription; up to 500 characters.
Localized name / description.
capacitynumberoptionalCapacity; an integer of 1 or more.
activebooleanoptionalWhether the spot is active.
imageUrlstringoptionalImage URL; must be a valid URL.
Location details.
availableTimes / blockedTimesRecord<string, [string, string]>optional[start, end] times (HH:mm) keyed by date (YYYY-MM-DD).
tableLimitnumberoptionalNumber of tables usable at once; an integer of 1 or more.
ticketIdsstring[]optionalTicket IDs allowed to use this spot; an empty array means all tickets.
Response
Returns MeetingSpot.
Request
curl https://api.4s.link/manage/events/EVENT_ID/meeting-spots/SPOT_ID \-X PUT \-H "Authorization: Bearer 4s_at_..." \-H "Content-Type: application/json" \-d '{"capacity": 6,"active": false}'
Example response
{"id": "ms1a2b3-...","name": "Meeting Table A","description": "...","capacity": 4,"active": true,"imageUrl": "https://.../spot.png","tableLimit": 2,"ticketIds": [],"order": 0}