Skip to main content

Update a flat zone

PATCH 

/v1/flat-zones/:id

Update an existing flat zone by ID

Request

Path Parameters

    id stringrequired

    Flat zone ID

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

Flat zone updated successfully

Schema
    _id stringrequired

    The ID of the flat zone

    zoneName stringrequired

    The name of the flat zone

    createdDate date-timerequired

    The creation date of the flat zone

    latestUpdate date-timerequired

    The latest update date of the flat zone

Loading...