---
title: "Update activity"
method: PATCH
path: "/v1/activities/{id}"
tags: ["Activities"]
---

# Update activity

`PATCH /v1/activities/{id}`

## Path parameters

- `id` integer, required

## Request body

- ActivityUpdate
  - `activity` object
    - `comment` string
    - `feeling` string
    - `image_url` string
    - `is_visible` boolean
    - `location` string
    - `latitude` number
    - `longitude` number
    - `time` integer
    - `state` string
    - `progress` object

## Response `200`

Success

## Other responses

- `401` — Unauthorized
- `404` — Not found

---

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