---
title: "Promoters Codes Patch"
method: PATCH
path: "/admin/promoters/{pid}/codes/{cid}"
---

# Promoters Codes Patch

`PATCH /admin/promoters/{pid}/codes/{cid}`

## Request

- Base URL: `https://api.nullprint.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nullprint.ai/admin/promoters/{pid}/codes/{cid}`
- Auth: none declared

超管停用 / 恢复某个 BD 的渠道码(不改码、不改备注)。

## Path parameters

- `pid` integer, required
- `cid` integer, required

## Request body

- ChannelPatch
  - `note` string, nullable
  - `code` string, nullable
  - `disabled` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/nullprint/apis/nullprint-backend.md) · [All operations](https://skmtc.dev/nullprint/apis/nullprint-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/nullprint/apis/nullprint-backend/revisions/51dfcef9dce2?raw)
