PATCH
/
projects
/
{project_id}
/
locations
/
{location_id}
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 '{
  "location": {
    "name": "Secondary Facility"
  }
}'
"{\n  \"id\": \"loc_4EASWoe5STyK7oWQ\",\n  \"lat\": \"49.25265\",\n  \"long\": \"-123.23356\",\n  \"name\": \"Secondary Facility\",\n  \"created_at\": \"2024-12-20T02:49:37.569Z\",\n  \"updated_at\": \"2024-12-20T02:51:45.291Z\"\n}"

Authorizations

Authorization
string
header
required

Path Parameters

project_id
string
required
location_id
string
required

Body

application/json

Response

200
application/json
200

The response is of type object.