API Reference
Update a specific location by id.
cURL
curl --request PATCH \ --url https://app.gomangrove.com/api/v1/projects/{project_id}/locations/{location_id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "lat": "<string>", "long": "<string>" } '
{ "id": "loc_4EASWoe5STyK7oWQ", "lat": "49.25265", "long": "-123.23356", "name": "Secondary Facility", "created_at": "2024-12-20T02:49:37.569Z", "updated_at": "2024-12-20T02:51:45.291Z" }
Name of the location
Latitude of the location
Longitude of the location
200
"loc_4EASWoe5STyK7oWQ"
"49.25265"
"-123.23356"
"Secondary Facility"
"2024-12-20T02:49:37.569Z"
"2024-12-20T02:51:45.291Z"