---
title: "Edit an anniversary"
method: PATCH
path: "/groups/{groupId}/anniversaries/{id}"
tags: ["Group features"]
---

# Edit an anniversary

`PATCH /groups/{groupId}/anniversaries/{id}`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/groups/{groupId}/anniversaries/{id}`
- Auth: HTTP bearer

## Path parameters

- `groupId` string, uuid, required
- `id` string, uuid, required

## Request body

- UpdateGroupAnniversaryRequest
  - `label` string
  - `month` integer
  - `day` integer
  - `year` integer, nullable
  - `icon` string, nullable

## Response `200`

OK

- object
  - `data` GroupAnniversary, required
    - `id` string, uuid, required
    - `groupId` string, uuid, required
    - `label` string, required
    - `month` integer, required
    - `day` integer, required
    - `year` integer, nullable, required
    - `icon` string, nullable, required
    - `createdBy` string, uuid, required
    - `createdAt` string, required
    - `canEdit` boolean: Whether the caller may change or remove it: its creator, or the group's owner/admin (never an admin of a system group). Present on list responses.
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `403`: Not a member of this group
- `404`: Not found

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
