---
title: "Update a moment category"
method: PATCH
path: "/v1/moment_categories/{id}"
---

# Update a moment category

`PATCH /v1/moment_categories/{id}`

## Request

- Base URL: `https://api.hify.club`
- URL: `https://api.hify.club/v1/moment_categories/{id}`
- Auth: API key in header `X-User-Token`

## Request body

- object
  - `moment_category` object
    - `name` string

## Response `200`

Moment category updated

- object
  - `id` integer
  - `name` string

## Other responses

- `422`: Unprocessable entity

---

[API](https://skmtc.dev/hify/apis/hify-apis.md) - [All operations](https://skmtc.dev/hify/apis/hify-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/hify/apis/hify-apis/revisions/b5920403538d?raw)
