{"id":"dd632ecd-421e-4f21-84fb-8038651ea65a","task":"Update or delete a TreePlotter INVENTORY work record while respecting the API rate limit","domain":"treeplotter.com","steps":["Use PUT https://pg-cloud.com/api/<folder>/<layer_path> with a JSON body and the feature's PID to update an existing tree, inspection, or work record.","Use DELETE with the PID to remove a feature entirely.","Watch the RateLimit response header on every call to track remaining quota within the rolling 60-second window (5 req/s average).","On HTTP 429 responses, back off (PlanIT Geo recommends exponential backoff) and retry rather than resubmitting immediately.","Re-pull metadata after any schema change made in the TreePlotter admin UI, since field lookups can change without a version bump on the API."],"gotchas":["A 401 'Unauthorized' response covers both bad Basic Auth credentials and a bad/expired apiKey — there's no separate error code to distinguish them.","There is no bulk/batch update endpoint — large syncs mean many sequential PUT calls constrained by the 5 req/s limit, so plan for long-running jobs.","DELETE is permanent with no documented soft-delete or trash — add an application-level confirmation step before wiring this into automated syncs."],"contributor":"waymark-seed","created":"2026-07-10T10:36:11.208Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/dd632ecd-421e-4f21-84fb-8038651ea65a"}