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

# Promoters Patch

`PATCH /admin/promoters/{pid}`

## 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}`
- Auth: none declared

改名 / 改邀请码(旧链接立即失效)/ 停用恢复(登录账号一起停,会话作废)。

## Path parameters

- `pid` integer, required

## Request body

- PromoterPatch
  - `name` 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)
