---
title: "Update properties of existing Data"
method: PATCH
path: "/{username}/feeds/{feed_key}/data/{id}"
tags: ["Data"]
---

# Update properties of existing Data

`PATCH /{username}/feeds/{feed_key}/data/{id}`

## Path parameters

- `username` string, required
- `feed_key` string, required
- `id` string, required

## Request body

- object
  - `value` string
  - `created_at` string, dateTime
  - `lat` string
  - `lon` string
  - `ele` string
  - `epoch` number

## Response `200`

Updated Data

- DataResponse
  - `id` string
  - `value` string
  - `feed_id` number
  - `group_id` number
  - `expiration` string
  - `lat` number
  - `lon` number
  - `ele` number
  - `completed_at` string
  - `created_at` string
  - `updated_at` string
  - `created_epoch` number

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Server Error

## Changes

- **2016-11-17** (v2) `1c70f746347c` — 1 info
  - endpoint added
- **2016-10-05** (v2) `74e9fdc9d949` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/adafruit/apis/adafruit-io-rest-api/changes/:username/feeds/:feed_key/data/:id/patch.md)

---

[API](https://skmtc.dev/adafruit/apis/adafruit-io-rest-api.md) · [All operations](https://skmtc.dev/adafruit/apis/adafruit-io-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adafruit/adafruit-io-rest-api/revisions/b16cd6123537/schema)
