Update a meeting zone
PATCH/v1/meeting-zones/:id
Update an existing meeting zone by ID
Request
Path Parameters
id stringrequired
Meeting zone ID
- application/json
Body
required
zoneName string
geo object
type stringrequired
coordinates number[]required
Array of rings for the polygon. Each ring is an array of [longitude, latitude] pairs. The first and last point must be the same.
Responses
- 200
- 404
Meeting zone updated successfully
- application/json
- Schema
- Example (from schema)
Schema
_id stringrequired
The ID of the meeting zone
activate booleanrequired
Whether the meeting zone is active
createdDate date-timerequired
The created date of the meeting zone
latestUpdate date-timerequired
The latest update date of the meeting zone
{
"_id": "672d07188234567890123456",
"activate": true,
"createdDate": "2025-01-01T00:00:00.000Z",
"latestUpdate": "2025-01-01T00:00:00.000Z"
}
Meeting zone not found
Loading...