---
title: "Set My Consent"
method: POST
path: "/api/v1/reviews/me/consent"
tags: ["reviews"]
---

# Set My Consent

`POST /api/v1/reviews/me/consent`

## Request

- Base URL: `https://qcode.cc` (the document declares no server; this is the origin it was published from)
- URL: `https://qcode.cc/api/v1/reviews/me/consent`
- Auth: none declared

撤回 / 恢复「同意公开」。撤回后立即从页面消失。

## Request body

- ConsentRequest
  - `consent_public` boolean, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-15** `b06e2752b740`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-09-03** `f816aeab705d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/qcode/apis/qcode-web/changes/api/v1/reviews/me/consent/post.md)

---

[API](https://skmtc.dev/qcode/apis/qcode-web.md) - [All operations](https://skmtc.dev/qcode/apis/qcode-web/llms.txt) - [OpenAPI document](https://skmtc.dev/qcode/apis/qcode-web/revisions/9632b29aa008?raw)
