---
title: "update badge status"
method: PUT
path: "/answer/admin/api/badge/status"
tags: ["AdminBadge"]
---

# update badge status

`PUT /answer/admin/api/badge/status`

update badge status

## Request body

- SchemaUpdateBadgeStatusReq
  - `id` string, required — badge id
  - `status` 'active' | 'inactive', required

## Response `200`

OK

- HandlerRespBody
  - `code` integer — http code
  - `data` unknown
  - `msg` string — response message
  - `reason` string — reason key

## Changes

- **2024-09-04** `b45e7b14240b` — 1 info
  - endpoint added
- **2024-09-04** `ccd96d4d8d0e` — 1 breaking
  - api path removed without deprecation
- **2024-08-23** `e94253f466da` — 1 info
  - endpoint added
- **2024-08-21** `949db88fed77` — 1 info
  - endpoint added
- **2024-08-19** `351a703de2ee` — 1 breaking
  - api path removed without deprecation

[Full history](https://skmtc.dev/apache/apis/apache-answer/changes/answer/admin/api/badge/status/put.md)

---

[API](https://skmtc.dev/apache/apis/apache-answer.md) · [All operations](https://skmtc.dev/apache/apis/apache-answer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apache/apache-answer/revisions/e9c2980e6571/schema)
