---
title: "Update badge"
method: PATCH
path: "/community/{id}/badge/{badgeId}"
tags: ["Community Badges"]
---

# Update badge

`PATCH /community/{id}/badge/{badgeId}`

## Path parameters

- `id` string, required
- `badgeId` string, required

## Request body

- UpdateBadgeDto
  - `status` 'draft' | 'under_review' | 'approved' | 'rejected' | 'live'
  - `title` string
  - `image` string — The image URL of the badge. Can be an IPFS url or OpenPage File.
  - `type` 'achievement' | 'attendance'
  - `description` string
  - `chainId` string — The chain ID of the badge.
  - `contract` string
  - `claimEndDate` string, date-time
  - `maxClaims` number
  - `tags` BadgeTagDto[] — Array of tags. Members with matching tags are eligible to claim the badge.
    - `id` string, required
    - `name` string, required
  - `author` BadgeAuthorDto
    - `name` string, required
    - `uri` string, required

## Response `200`

---

[API](https://skmtc.net/openpage/apis/openpage-api-reference.md) · [All operations](https://skmtc.net/openpage/apis/openpage-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openpage/openpage-api-reference/versions/99e35ba4d97e/schema)
