update(…)

Update points for user’s zone with id = <zone_id>.

required subuser rights: zone_update

parameters:

name description type
zone_id Id of the zone. Specified zone must support points. (e.g. it cannot be circle) Int
points Array of new points for this zone. Must contain at least 3 elements. Maximum number of points depends on zone type. <point>[]

return:

{
    "success": true
}

errors:

  • 201(Not found in database) – if zone with the specified id cannot be found or belongs to another user
  • 202(Too many points in zone) – if “points” array size exceeds limit for this zone type
  • 230(Not supported for this entity type) – if zone cannot have any points associated with it (e.g. if zone is circle)

max allowed points count for zone is 100 for polygon or 1024 for sausage

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 223 0427

Log in

Login

[clean-login]

CLOSE
Register

[clean-login-register]

CLOSE
Loading...