---
title: "Update Feature"
method: PUT
path: "/collections/{collectionId}/items/{featureId}"
tags: ["Features"]
---

# Update Feature

`PUT /collections/{collectionId}/items/{featureId}`

## Request

- Base URL: `https://api.planet.com/features/v1/ogc/my`
- URL: `https://api.planet.com/features/v1/ogc/my/collections/{collectionId}/items/{featureId}`
- Auth: one of:
  - HTTP bearer
  - HTTP basic
- TypeScript: <https://skmtc.dev/planet/apis/planet-features-api/docs/collections/:collectionId/items/:featureId/put.ts> (a function with typed inputs; its response is checked against the schema)

Update a feature, you cannot update a feature geometry.

## Path parameters

- `collectionId` string, required
- `featureId` string, required

## Request body

- FeatureUpdate: All properties are optional, geometry cannot be updated.
  - `properties` object

## Response `200`

fetch the feature with id `featureId` in the feature collection
with id `collectionId`

- FeatureGeoJSON
  - `type` 'Feature', required
  - `geometry` union, required
    - PointGeoJSON
      - `type` 'Point', required
      - `coordinates` number[], required
    - MultipointGeoJSON
      - `type` 'MultiPoint', required
      - `coordinates` array[], required
        - number[]
    - LinestringGeoJSON
      - `type` 'LineString', required
      - `coordinates` array[], required
        - number[]
    - MultilinestringGeoJSON
      - `type` 'MultiLineString', required
      - `coordinates` array[], required
        - array[]
          - number[]
    - PolygonGeoJSON
      - `type` 'Polygon', required
      - `coordinates` array[], required
        - array[]
          - number[]
    - MultipolygonGeoJSON
      - `type` 'MultiPolygon', required
      - `coordinates` array[], required
        - array[]
          - array[]
            - number[]
    - GeometrycollectionGeoJSON
      - `type` 'GeometryCollection', required
      - `geometries` GeometryGeoJSON[], required
  - `properties` object, nullable, required
  - `id` union
    - string
    - integer
  - `links` Link[]
    - `href` string, required
    - `rel` string
    - `type` string
    - `hreflang` string
    - `title` string
    - `length` integer

---

[API](https://skmtc.dev/planet/apis/planet-features-api.md) - [All operations](https://skmtc.dev/planet/apis/planet-features-api/llms.txt) - [OpenAPI document](https://skmtc.dev/planet/apis/planet-features-api/revisions/5a7c6f310684?raw)
